Module: Tree::InternalParentImplementation
- Includes:
- InternalImplementation, ParentImplementation
- Included in:
- ArrayTree, InternalRootImplementation
- Defined in:
- lib/modular_tree/implementations.rb
Instance Attribute Summary collapse
-
#parent ⇒ Object
(also: #branch)
Returns the value of attribute parent.
Instance Method Summary collapse
Methods included from NodeProperty
Methods included from StemProperty
Methods included from InternalImplementation
Instance Attribute Details
#parent ⇒ Object Also known as: branch
Returns the value of attribute parent.
43 44 45 |
# File 'lib/modular_tree/implementations.rb', line 43 def parent @parent end |
Instance Method Details
#initialize(parent) ⇒ Object
46 |
# File 'lib/modular_tree/implementations.rb', line 46 def initialize(parent) = @parent = parent |