method

self_and_siblings

self_and_siblings()
public

Returns all siblings and a reference to the current node.

  subchild1.self_and_siblings # => [subchild1, subchild2]