method
self_and_siblings
v1.2.6 -
Show latest stable
- Class:
ActiveRecord::Acts::Tree::InstanceMethods
self_and_siblings()public
Returns all siblings and a reference to the current node.
subchild1.self_and_siblings # => [subchild1, subchild2]