Sebastian Hungerecker
11/23/2007 4:36:00 PM
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.
--
NP: Anathema - Balance
Jabber: sepp2k@jabber.org
ICQ: 205544826