Module: Babl::Operators::Parent::DSL
- Included in:
- Template
- Defined in:
- lib/babl/operators/parent.rb
Instance Method Summary collapse
-
#parent ⇒ Object
Navigate to the parent of the current object.
Instance Method Details
#parent ⇒ Object
Navigate to the parent of the current object.
9 10 11 |
# File 'lib/babl/operators/parent.rb', line 9 def parent construct_node { |node| Nodes::Parent.new(node) }.reset_key.reset_continue end |