Class: LocoBot::CLI::Command::Move
- Defined in:
- lib/loco_bot/cli/command/move.rb
Overview
Upon execution, calls #move on the robot attribute.
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#execute ⇒ Boolean
Executes the command.
Methods inherited from Base
Constructor Details
This class inherits a constructor from LocoBot::CLI::Command::Base
Instance Method Details
#execute ⇒ Boolean
Executes the command.
8 9 10 |
# File 'lib/loco_bot/cli/command/move.rb', line 8 def execute robot.move end |