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.



139
140
141
# File 'lib/wakame/event.rb', line 139

def initialize(command)
  @command = command
end

Instance Attribute Details

#commandObject (readonly)

Returns the value of attribute command.



138
139
140
# File 'lib/wakame/event.rb', line 138

def command
  @command
end