From: Tom Smith Date: 2009-08-29T06:07:01+09:00 Subject: Re: Error with an array of strings btw, the error is (as you might have guessed): undefined method `/' for [["10", "20"]]:Array (NoMethodError) TIA > > Needless to say, I'm getting an error with the averageall, since (I > assume) it's trying to divide by strings. I figure I need to convert the > array of strings to an array of integers. Alas, I can't seem to track > down the correct solution. Any help would be much appreciated for this > newbie to Ruby. > > Thanks. -- Posted via http://www.ruby-forum.com/.