Module: Sequel::Plugins::Tree::SingleRoot::ClassMethods

Defined in:
lib/sequel/plugins/tree.rb

Instance Method Summary collapse

Instance Method Details

#rootObject

Returns the single root node.


146
147
148
# File 'lib/sequel/plugins/tree.rb', line 146

def root
  roots_dataset.first
end