class Robot::Commands::Report

Constants

REPORT

Public Class Methods

call(position) click to toggle source
# File lib/robot/commands/report.rb, line 12
def self.call(position)
  puts position
  position
end
matches?(command) click to toggle source
# File lib/robot/commands/report.rb, line 8
def self.matches?(command)
  command == REPORT
end