Method: Jinx::Visitor#current
- Defined in:
- lib/jinx/helpers/visitor.rb
#current ⇒ Object
Returns the current node being visited.
118 119 120 |
# File 'lib/jinx/helpers/visitor.rb', line 118 def current @lineage.last end |
Returns the current node being visited.
118 119 120 |
# File 'lib/jinx/helpers/visitor.rb', line 118 def current @lineage.last end |