Sebastian,
Right you are!  When I did the original post, I screwed it up.  I know 
chomp doesn't get user input, I was using it with gets, and it didn't 
work.  I've got to do a better job of proofreading before I hit submit. 
Sorry!

Sebastian Hungerecker wrote:
> Peter Vanderhaden wrote:
>> When I try to use chomp to get user input
> 
> You can't get user input with chomp. The only thing you get from chomp 
> is a
> version of the string you called it on with trailing character removed.
> 
> 
>> private method `chomp' called for nil:NilClass (NoMethodError)
> 
> Yes, there is no chomp method for nil. You need to call chomp on a 
> String. If
> you thought that you were calling it on a String, you were thinking 
> wrong.
> You should look into that.

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