Class: Origami::Action::GoToR

Inherits:
Origami::Action show all
Defined in:
lib/origami/actions.rb

Overview

Class representing a GoTo Action to an external file.

Constant Summary

Constants included from StandardObject

StandardObject::DEFAULT_ATTRIBUTES

Constants inherited from Dictionary

Dictionary::TOKENS

Constants included from Object

Object::TOKENS

Instance Attribute Summary

Attributes inherited from Dictionary

#names_cache, #strings_cache, #xref_cache

Attributes included from Object

#file_offset, #generation, #no, #objstm_offset, #parent

Class Method Summary collapse

Methods inherited from Origami::Action

GoTo, GoToE, GoToR, ImportData, JavaScript, Named, RichMediaExecute, SubmitForm, URI

Methods included from StandardObject

included, #pre_build, #version_required

Methods inherited from Dictionary

#[], #[]=, add_type_signature, #cast_to, #copy, #delete, guess_type, hint_type, #initialize, #key?, #map!, #merge, parse, #to_h, #to_obfuscated_str, #to_s

Methods included from FieldAccessor

#method_missing, #respond_to_missing?

Methods included from Object

#<=>, #cast_to, #copy, #document, #export, included, #indirect?, #indirect_parent, #initialize, #logicalize, #logicalize!, #native_type, parse, #post_build, #pre_build, #reference, #set_document, #set_indirect, skip_until_next_obj, #solve, #to_o, #to_s, #type, typeof, #version_required, #xrefs

Constructor Details

This class inherits a constructor from Origami::Dictionary

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Origami::FieldAccessor

Class Method Details

.[](file, dest: Destination::GlobalFit[0], new_window: false) ⇒ Object

Creates a new GoTo remote Action.

file

A FileSpec describing the file.

dest

A Destination in the file.

new_window

Specifies whether the file has to be opened in a new window.


183
184
185
# File 'lib/origami/actions.rb', line 183

def self.[](file, dest: Destination::GlobalFit[0], new_window: false)
    self.new(:F => file, :D => dest, :NewWindow => new_window)
end