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

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



386
387
388
389
390
# File 'lib/origami/xfa/config.rb', line 386

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

    self.text = mode
end