From: corey konrad <0011@...> Date: 2006-05-15T08:28:02+09:00 Subject: Re: begining programmer questions oh ok basicly the issue is that i just didnt understand what the gets method was doing, it was creating another string? Wow i thought it just GOT another string i didnt know it created one. Thats really confusing. Puts and Gets have been really confusing methods for me so far. also why does puts #{info} always print exit even if a user doesnt type that in, that doesnt make sense to me at all. Michael Gorsuch wrote: > Ah! > > Take a look here: > > "info = gets.chomp" > You've just changed 'info' into a String. > > Instead, do this: > > "info << gets.chomp" > > This means 'get some stuff, chomp it, and add it to the info Array' -- Posted via http://www.ruby-forum.com/.