Class: Alchemist::Commands::Location
- Defined in:
- lib/alchemist-server/commands/location.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 |
# File 'lib/alchemist-server/commands/location.rb', line 6 def run x, y = history.world.location avatar_name outcome "location #{x} #{y}" end |