module AnotherToyRobot

Constants

VERSION

Public Class Methods

main() click to toggle source
# File lib/another_toy_robot.rb, line 5
def self.main
  client = Client.new

  loop do
    print "Input command: "
    input = gets
    break if input =~ /^\s*exit\s+/
    client.command_for Input.new(input)
  end
end