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.


164
165
166
# File 'lib/sequel/plugins/tree.rb', line 164

def root
  roots_dataset.first
end