Module: Tree::InternalChildrenHashImplementation
- Includes:
- InternalChildrenImplementation
- Defined in:
- lib/modular_tree/implementations.rb
Instance Attribute Summary collapse
-
#hash ⇒ Object
readonly
Returns the value of attribute hash.
Instance Method Summary collapse
Methods included from InternalChildrenImplementation
#attach, #branches, #each_branch
Methods included from ChildrenImplementation
Methods included from NodeProperty
Methods included from BranchesProperty
#bare?, #branches, #each_branch
Methods included from ChildrenProperty
Methods included from InternalImplementation
Instance Attribute Details
#hash ⇒ Object (readonly)
Returns the value of attribute hash.
221 222 223 |
# File 'lib/modular_tree/implementations.rb', line 221 def hash @hash end |
Instance Method Details
#children ⇒ Object
223 |
# File 'lib/modular_tree/implementations.rb', line 223 def children = hash.values |
#initialize ⇒ Object
225 226 227 228 |
# File 'lib/modular_tree/implementations.rb', line 225 def initialize @hash = {} super end |