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
169 def root
170   roots_dataset.first
171 end