class MauxRobot::NotOkToGo
Error to notify that the position is/would be outside the table
Public Class Methods
new(position)
click to toggle source
Calls superclass method
# File lib/maux_robot/robot.rb, line 17 def initialize(position) super("It's not ok to go to #{position.x},#{position.y}") end