Class: Origami::XDP::Packet::Config::Presence

Inherits:
Origami::XFA::ConfigElement show all
Defined in:
lib/origami/xfa/config.rb

Constant Summary collapse

PRESERVE =
"preserve"
DISSOLVE =
"dissolve"
DISSOLVESTRUCTURE =
"dissolveStructure"
IGNORE =
"ignore"
REMOVE =
"remove"

Instance Method Summary collapse

Methods included from Origami::XFA

included

Constructor Details

#initialize(action = PRESERVE) ⇒ Presence

Returns a new instance of Presence.



210
211
212
213
214
# File 'lib/origami/xfa/config.rb', line 210

def initialize(action = PRESERVE)
    super('presence')

    self.text = action
end