Module: ActsAsOrderedTree::ClassMethods::ClassMethods
- Defined in:
- lib/acts_as_ordered_tree/class_methods.rb
Instance Method Summary collapse
-
#root ⇒ Object
Returns the first root.
Instance Method Details
#root ⇒ Object
Returns the first root
21 22 23 |
# File 'lib/acts_as_ordered_tree/class_methods.rb', line 21 def root roots.first end |