Class: Origami::Action::Named

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

Overview

Class representing a Named Action. Named actions are predefined GoTo actions.

Constant Summary collapse

NEXT_PAGE =
self[:NextPage]
PREV_PAGE =
self[:PrevPage]
FIRST_PAGE =
self[:FirstPage]
LAST_PAGE =
self[:LastPage]
self[:Print]

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

.[](type) ⇒ Object


152
153
154
# File 'lib/origami/actions.rb', line 152

def self.[](type)
    self.new(:N => type)
end