Permalink
Browse files

removing #remove_all!.

  • Loading branch information...
1 parent 3bc0b09 commit 97f08d57c0ddbbf056a9ecc93eb0c12449a035c6 @apotonick committed Oct 11, 2011
Showing with 0 additions and 11 deletions.
  1. +0 −11 lib/apotomo/widget/tree_node.rb
@@ -41,17 +41,6 @@ def remove!(child)
child
end
- # Removes all children from the receiver node.
- def remove_all!
- for child in @children
- child.root!
- end
- @childrenHash.clear
- @children.clear
- self
- end
-
-
# Private method which sets this node as a root node.
def root!
@parent = nil

0 comments on commit 97f08d5

Please sign in to comment.