Module: Tree::InternalRootImplementation
- Includes:
- InternalParentImplementation, RootProperty
- Defined in:
- lib/modular_tree/implementations.rb
Instance Attribute Summary
Attributes included from InternalParentImplementation
Instance Method Summary collapse
Methods included from InternalParentImplementation
Methods included from Implementation
Methods included from NodeProperty
Methods included from StemProperty
Methods included from ParentProperty
Methods included from InternalImplementation
Instance Method Details
#root ⇒ Object
59 |
# File 'lib/modular_tree/implementations.rb', line 59 def root = @root ||= parent&.root || self |