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.



139
140
141
# File 'lib/sequel/plugins/tree.rb', line 139

def root
  roots_dataset.first
end