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

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



288
289
290
291
292
# File 'lib/origami/xfa.rb', line 288

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

  self.text = default
end