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
enum
ToyRobot::Command::Rotate::RotateDirection
Defined in:
toy_robot/command/rotate.cr
Enum Members
LEFT
=
0
RIGHT
=
1
Instance Method Summary
#left?
#right?
Instance Method Detail
def
left?
#
[
View source
]
def
right?
#
[
View source
]