class ToyRobot::Commander

Defined in:

toy_robot/commander.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(output : IO::FileDescriptor = STDOUT, robot : ToyRobot::Robot = Robot.new, table : ToyRobot::Table = Table.new) #

[View source]

Instance Method Detail

def execute(input : String) : Command::Base | Nil #

[View source]
def output : IO::FileDescriptor #

[View source]
def robot : Robot #

[View source]
def robot=(robot : Robot) #

[View source]
def table : Table #

[View source]