Module | Apotomo::TreeNode |
In: |
lib/apotomo/widget/tree_node.rb
|
childrenHash | [R] | DISCUSS: do we need it? we have []! DISCUSS: children receives a block, but childrenHash doesn‘t |
parent | [RW] |
Provides a comparision operation for the nodes. Comparision is based on the natural character-set ordering for the node names. DUISCUSS: useful? DUISCUSS: <, >, etc., operators doesn‘t work because of Comparable isn‘t included
Removes the specified child node from the receiver node. The removed children nodes are orphaned but available if an alternate reference exists. Returns the child node.