Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

removing #remove_all!.

  • Loading branch information...
commit 97f08d57c0ddbbf056a9ecc93eb0c12449a035c6 1 parent 3bc0b09
@apotonick authored
Showing with 0 additions and 11 deletions.
  1. +0 −11 lib/apotomo/widget/tree_node.rb
View
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
Please sign in to comment.
Something went wrong with that request. Please try again.