method
self_and_siblings
rails 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]
self_and_siblings()Returns all siblings and a reference to the current node.
subchild1.self_and_siblings # => [subchild1, subchild2]