From: Tait Pollard Date: 2006-06-07T21:53:43+09:00 Subject: Getting rid of a while loop I get a feeling there should be another way to make this happen without using a while loop, if anyone has any ideas that'd be great. while question=file.gets answer=file.gets @question_array[counter]=Questions.new(question,answer, false) counter+=1 end -- Posted via http://www.ruby-forum.com/.