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
164 def root
165   roots_dataset.first
166 end