Class: Origami::XDP::Packet::Config::IfEmpty

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

Constant Summary collapse

DATAVALUE =
"dataValue"
DATAGROUP =
"dataGroup"
IGNORE =
"ignore"
REMOVE =
"remove"

Instance Method Summary collapse

Methods included from Origami::XFA

included

Constructor Details

#initialize(default = DATAVALUE) ⇒ IfEmpty

Returns a new instance of IfEmpty.



177
178
179
180
181
# File 'lib/origami/xfa/config.rb', line 177

def initialize(default = DATAVALUE)
  super('ifEmpty')

  self.text = default
end