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

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



409
410
411
412
413
# File 'lib/origami/xfa.rb', line 409

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

  self.text = level
end