Class: Alchemist::Commands::Look
- Defined in:
- lib/alchemist-server/commands/look.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 ⇒ Object
6 7 8 9 10 11 |
# File 'lib/alchemist-server/commands/look.rb', line 6 def run outcome [ "see #{World::LOOK_RANGE*2 + 1}", history.world.look(avatar_name) ].join("\n") end |