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.



137
138
139
# File 'lib/sequel/plugins/tree.rb', line 137

def root
  roots_dataset.first
end