class Menu

Public Class Methods

new() click to toggle source
# File lib/r3d3/interface/menu.rb, line 6
def initialize
  puts "\e[32mWelcome in toy robot simulator!\e[0m"
  puts %q(
           _
          [ ]
         (   )
          |>|
       __/===\__
      //| o=o |\\
    <]  | o=o |  [>
        \=====/
       / / | \ \
      <_________>
  )
  instantiate_world
  print_commands 
end

Private Instance Methods

instantiate_world() click to toggle source
# File lib/r3d3/interface/menu.rb, line 26
def instantiate_world
  @world = World.new
end
print_commands() click to toggle source