# File lib/tree.rb, line 452 def siblings return nil if isRoot? if block_given? for sibling in parent.children yield sibling if sibling != self end else siblings = [] parent.children {|my_sibling| siblings << my_sibling if my_sibling != self} siblings end end