Class: Robot::Commands::Report
- Defined in:
- lib/robot/commands/report.rb
Constant Summary collapse
- REPORT =
'REPORT'
Class Method Summary collapse
Methods inherited from Base
Class Method Details
.call(position) ⇒ Object
12 13 14 15 |
# File 'lib/robot/commands/report.rb', line 12 def self.call(position) puts position position end |
.matches?(command) ⇒ Boolean
8 9 10 |
# File 'lib/robot/commands/report.rb', line 8 def self.matches?(command) command == REPORT end |