Class Origami::Action::GoTo
In: sources/parser/actions.rb
Parent: Action

Class representing a action going to a destination in the current document.

Methods

new  

Public Class methods

Creates a new GoTo Action.

hash:A hash of options to set for this jump.

[Source]

    # File sources/parser/actions.rb, line 55
55:       def initialize(hash = {}, indirect = false)
56:         
57:         if hash.is_a? Destination
58:           super({:S => :GoTo, :D => hash}, indirect)
59:         else
60:           super(hash, indirect)
61:         end
62:         
63:       end

[Validate]