Class: ThreadMsg
- Inherits:
-
Struct
- Object
- Struct
- ThreadMsg
- Defined in:
- lib/nub/thread_comm.rb
Overview
Provides a simple messaging mechanism between threads
Instance Attribute Summary collapse
-
#cmd ⇒ Object
Returns the value of attribute cmd.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Attribute Details
#cmd ⇒ Object
Returns the value of attribute cmd
25 26 27 |
# File 'lib/nub/thread_comm.rb', line 25 def cmd @cmd end |
#value ⇒ Object
Returns the value of attribute value
25 26 27 |
# File 'lib/nub/thread_comm.rb', line 25 def value @value end |