From: Ilan Berci Date: 2009-09-23T22:03:03+09:00 Subject: Re: Accessing an instance variable in another method Ilan Berci wrote: > @percentage = (@correct_answer_count / > @quiz_completed.questions.size) * 100 > end > > ilan whoops.. typo from variable rename.. @percentage = (@correct_answer_count / @quiz.questions.size) * 100 ilan -- Posted via http://www.ruby-forum.com/.