Class: Loom::Trap::SignalExit
Instance Attribute Summary collapse
-
#signal ⇒ Object
readonly
Returns the value of attribute signal.
Instance Method Summary collapse
-
#initialize(signal) ⇒ SignalExit
constructor
A new instance of SignalExit.
Constructor Details
#initialize(signal) ⇒ SignalExit
Returns a new instance of SignalExit.
7 8 9 |
# File 'lib/loom/trap.rb', line 7 def initialize(signal) @signal = signal end |
Instance Attribute Details
#signal ⇒ Object (readonly)
Returns the value of attribute signal.
5 6 7 |
# File 'lib/loom/trap.rb', line 5 def signal @signal end |