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

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



495
496
497
498
499
# File 'lib/origami/xfa/config.rb', line 495

def initialize(threshold = TRACE)
    super('threshold')

    self.text = threshold
end