Class: Twib::Switch::Debug::Event::ExitProcess
- Defined in:
- lib/twib/switch/debug.rb
Constant Summary collapse
- TYPE =
2
Instance Attribute Summary collapse
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Attributes inherited from Event
Instance Method Summary collapse
Methods inherited from Event
Constructor Details
This class inherits a constructor from Twib::Switch::Debug::Event::Event
Instance Attribute Details
#type ⇒ Object (readonly)
Returns the value of attribute type.
62 63 64 |
# File 'lib/twib/switch/debug.rb', line 62 def type @type end |
Instance Method Details
#event_type ⇒ Object
59 60 61 |
# File 'lib/twib/switch/debug.rb', line 59 def event_type :exit_process end |
#unpack_specific(pack) ⇒ Object
56 57 58 |
# File 'lib/twib/switch/debug.rb', line 56 def unpack_specific(pack) @type = pack.unpack("L<") end |