From: Dwight Shackelford Date: 2009-07-19T02:21:48+09:00 Subject: Re: undefined method `*' for nil:NilClass (NoMethodError) > > And it will (almost) work. Note that the construct '++' as in @age++ > does not exist in ruby, neither does the construct '--', you will have > to write explicitly > @age += 1 > and > @numFruit -= 1 > > > Cheers, Thank you very much, both of you. Yes, I figured I was using other languages mixed in. Studying too many languages at the same time, and already know some others. I was just going to have the debugger tell me what doesn't work. -- Posted via http://www.ruby-forum.com/.