Methods

Class/Module Index [+]

Quicksearch

Origami::Action::GoTo

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

Public Class Methods

[](hash = {}) click to toggle source

Creates a new GoTo Action.

hash

A hash of options to set for this jump.

# File lib/origami/actions.rb, line 68
def self.[](hash = {})
  if hash.is_a? Destination
    self.new(:S => :GoTo, :D => hash)
  else
    self.new(hash)
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.