Class: Origami::XDP::Packet::Config::Severity

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

Constant Summary collapse

IGNORE =
"ignore"
ERROR =
"error"
INFORMATION =
"information"
TRACE =
"trace"
WARNING =
"warning"

Instance Method Summary collapse

Methods included from Origami::XFA

included

Constructor Details

#initialize(level = IGNORE) ⇒ Severity

Returns a new instance of Severity.



278
279
280
281
282
# File 'lib/origami/xfa/config.rb', line 278

def initialize(level = IGNORE)
    super('severity')

    self.text = level
end