Method: Jinx::Visitor#root
- Defined in:
- lib/jinx/helpers/visitor.rb
#root ⇒ Object
Returns the top node visited.
113 114 115 |
# File 'lib/jinx/helpers/visitor.rb', line 113 def root @lineage.first end |
Returns the top node visited.
113 114 115 |
# File 'lib/jinx/helpers/visitor.rb', line 113 def root @lineage.first end |