Class: TotenDev::Message
- Inherits:
-
Object
- Object
- TotenDev::Message
- Defined in:
- lib/tdev_kiwi/message.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
Returns the value of attribute args.
-
#worker ⇒ Object
Returns the value of attribute worker.
Instance Method Summary collapse
-
#initialize(w = '', a = '') ⇒ Message
constructor
A new instance of Message.
Constructor Details
#initialize(w = '', a = '') ⇒ Message
Returns a new instance of Message.
10 11 12 13 |
# File 'lib/tdev_kiwi/message.rb', line 10 def initialize(w = '', a = '') @worker = w @args = a end |
Instance Attribute Details
#args ⇒ Object
Returns the value of attribute args.
8 9 10 |
# File 'lib/tdev_kiwi/message.rb', line 8 def args @args end |
#worker ⇒ Object
Returns the value of attribute worker.
8 9 10 |
# File 'lib/tdev_kiwi/message.rb', line 8 def worker @worker end |