Class: RobotInterface::Move

Inherits:
Command
  • Object
show all
Defined in:
lib/rubbot_cli.rb

Constant Summary

Constants inherited from Command

Command::NoArgumentsError

Instance Method Summary collapse

Methods inherited from Command

#initialize

Constructor Details

This class inherits a constructor from RobotInterface::Command

Instance Method Details

#execute(robot, options = {}) ⇒ Object



37
# File 'lib/rubbot_cli.rb', line 37

def execute(robot, options = {}) robot.move end