Class: Alchemist::Commands::Message
- Defined in:
- lib/alchemist-server/commands/message.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#initialize, #outcome, pattern, run
Constructor Details
This class inherits a constructor from Alchemist::Commands::Base
Instance Method Details
#run(key, *words) ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/alchemist-server/commands/message.rb', line 6 def run(key, *words) world = history.world. avatar_name, key, words.join(' ') outcome nil, world, Commands::Read end |