class ToyRobot::Commander
- ToyRobot::Commander
- Reference
- Object
Defined in:
toy_robot/commander.crConstructors
Instance Method Summary
- #execute(input : String) : Command::Base | Nil
- #output : IO::FileDescriptor
- #robot : Robot
- #robot=(robot : Robot)
- #table : Table
Constructor Detail
def self.new(output : IO::FileDescriptor = STDOUT, robot : ToyRobot::Robot = Robot.new, table : ToyRobot::Table = Table.new)
#