From: David Gamba Date: 2013-01-07T11:51:08+09:00 Subject: Re: newbie question what am I doing wrong? Didn't the compiler give you and error of the likes of: in `
': undefined local variable or method `yes' for main:Object (NameError) ? That clearly states that yes is being considered as a method or a variable instead of a string. You should pay attention to those, specially if you are just starting ;) On Sun 06 Jan 2013 06:51:17 PM MST, Lee V. wrote: > The problem I was having was that after an answer was typed in for the > first question the program would close. By putting 'yes' instead of > yes, the program ran fine. I added more steps to it after and the whole > program works, so I think I'm getting the hang of it. >