Class: LibZMQ::EventData
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- LibZMQ::EventData
- Includes:
- EventDataLayout
- Defined in:
- lib/ffi-rzmq-core/structures.rb
Overview
Provide a few convenience methods for accessing the event structure.
Instance Method Summary collapse
Methods included from EventDataLayout
Instance Method Details
#event ⇒ Object
93 94 95 |
# File 'lib/ffi-rzmq-core/structures.rb', line 93 def event self[:event] end |
#inspect ⇒ Object
101 102 103 |
# File 'lib/ffi-rzmq-core/structures.rb', line 101 def inspect "event [#{event}], value [#{value}]" end |
#value ⇒ Object
97 98 99 |
# File 'lib/ffi-rzmq-core/structures.rb', line 97 def value self[:value] end |