David Gamba wrote in post #1091257:
> Didn't the compiler give you and error of the likes of:
>     in `<main>': 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 ;)
That's another problem I'm having.  The screen closes before I get a 
chance to read what it says.  I've been using sleep(30) at the end of 
all my programs so I can view the full result but if there's an error, 
the screen doesn't sleep for me to see why.

-- 
Posted via http://www.ruby-forum.com/.