# File lib/tree.rb, line 247 def removeAll! for child in @children child.setAsRoot! end @childrenHash.clear @children.clear self end