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

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


342
343
344
345
346
# File 'lib/origami/xfa/config.rb', line 342

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

    self.text = level
end