Class: Wakame::Event::CommandReceived

Inherits:
Base
  • Object
show all
Defined in:
lib/wakame/event.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#time

Instance Method Summary collapse

Methods inherited from Base

#log_message

Constructor Details

#initialize(command) ⇒ CommandReceived

Returns a new instance of CommandReceived.



201
202
203
# File 'lib/wakame/event.rb', line 201

def initialize(command)
  @command = command
end

Instance Attribute Details

#commandObject (readonly)

Returns the value of attribute command.



200
201
202
# File 'lib/wakame/event.rb', line 200

def command
  @command
end