Class: TotenDev::Message

Inherits:
Object
  • Object
show all
Defined in:
lib/tdev_kiwi/message.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#argsObject

Returns the value of attribute args.



8
9
10
# File 'lib/tdev_kiwi/message.rb', line 8

def args
  @args
end

#workerObject

Returns the value of attribute worker.



8
9
10
# File 'lib/tdev_kiwi/message.rb', line 8

def worker
  @worker
end