Module: Babl::Operators::Pin::DSL
- Included in:
- Template
- Defined in:
- lib/babl/operators/pin.rb
Instance Method Summary collapse
- #goto_pin(ref) ⇒ Object
- #named_pin(ref) ⇒ Object
-
#pin(navigation = unscoped, &block) ⇒ Object
Create a pin.
Instance Method Details
#goto_pin(ref) ⇒ Object
21 22 23 24 |
# File 'lib/babl/operators/pin.rb', line 21 def goto_pin(ref) check_pin_ref(ref) construct_node { |node| Nodes::GotoPin.new(node, ref) }.reset_key.reset_continue end |