lib/je_robot2/cli.rb
# Read commands in from file and pass through to Command
Read commands in from file and pass through to Command
Read commands in from file and pass through to Command
def load_commands(file)
      File.readlines(file).map do |command|
        JeRobot2::Command.process(command)
      end
    end
def load_commands ( file ) File . readlines ( file ) . map do | command | JeRobot2 :: Command . process ( command ) end end
Read commands in from file and pass through to Command
Read commands in from file and pass through to Command
file
<not_specific>