Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
toy_robot_crystal
main
ToyRobot
CLI
Command
Base
Move
Place
Report
Rotate
RotateDirection
Commander
NotPlaced
OutsideOfTable
Robot
Direction
Table
UnrecognisedCommand
WrongDirection
Built with Crystal 1.9.2
2023-10-07 17:30:58 UTC
class
ToyRobot::Command::Report
ToyRobot::Command::Report
ToyRobot::Command::Base
Reference
Object
Defined in:
toy_robot/command/report.cr
Instance Method Summary
#execute
Instance methods inherited from class
ToyRobot::Command::Base
output : IO::FileDescriptor
output
,
output=(output : IO::FileDescriptor)
output=
,
robot : Robot
robot
,
robot=(robot : Robot)
robot=
,
table : Table
table
,
table=(table : Table)
table=
Constructor methods inherited from class
ToyRobot::Command::Base
new(robot : Robot, table : Table, output : IO::FileDescriptor)
new
Instance Method Detail
def
execute
#
[
View source
]