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

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



221
222
223
224
225
# File 'lib/origami/xfa/config.rb', line 221

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

    self.text = default
end