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

Inherits:
Origami::XFA::Element 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.



260
261
262
263
264
# File 'lib/origami/xfa/config.rb', line 260

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

    self.text = action
end