Class: RobotInterface::Report
Constant Summary
Constants inherited from Command
Instance Method Summary collapse
Methods inherited from Command
Constructor Details
This class inherits a constructor from RobotInterface::Command
Instance Method Details
#execute(robot, options = {}) ⇒ Object
49 50 51 52 |
# File 'lib/rubbot_cli.rb', line 49 def execute(robot, = {}) output = .fetch(:output) output << robot.report + "\n" end |