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

Inherits:
Origami::XFA::Element show all
Defined in:
lib/origami/xfa.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.



327
328
329
330
331
# File 'lib/origami/xfa.rb', line 327

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

  self.text = action
end