ruby - app is not stopping at "gets" - is my online interpreter forcing a timeout? -
while starting assignment (towers of hanoi), leave code in basic state while ponder logic of how continue.
while arr3.count < 6 puts "move ring tower?" = gets.chomp puts "move ring tower?" = gets.chomp end
before can start building rest of app, however, gets seems fall through without input me, , second puts displays on screen. continues looping every, say, 30 seconds or so. should assume feature of online interpreters (like codeacademy labs)?
now i'm distracted continuing assignment , have find better place code.
i'm installing aptana (based on advice on forum) see if can better environment assignments. or people use text editor run .rb file through windows console window?
thx
Comments
Post a Comment