Class: Origami::XDP::Packet::Config::Mode

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

Constant Summary collapse

APPEND =
"append"
OVERWRITE =
"overwrite"

Instance Method Summary collapse

Methods included from Origami::XFA

included

Constructor Details

#initialize(mode = APPEND) ⇒ Mode

Returns a new instance of Mode.



479
480
481
482
483
# File 'lib/origami/xfa/config.rb', line 479

def initialize(mode = APPEND)
    super('mode')

    self.text = mode
end