Class: Origami::XDP::Packet::Config::Threshold

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

Constant Summary collapse

TRACE =
"trace"
ERROR =
"error"
INFORMATION =
"information"
WARN =
"warn"

Instance Method Summary collapse

Methods included from Origami::XFA

included

Constructor Details

#initialize(threshold = TRACE) ⇒ Threshold

Returns a new instance of Threshold.



562
563
564
565
566
# File 'lib/origami/xfa.rb', line 562

def initialize(threshold = TRACE)
  super('threshold')
  
  self.text = threshold
end