module Sequel::Plugins::Tree::SingleRoot::ClassMethods

Public Instance Methods

root() click to toggle source

Returns the single root node.

    # File lib/sequel/plugins/tree.rb
146 def root
147   roots_dataset.first
148 end