From: Lloyd Linklater Date: 2008-03-24T23:52:35+09:00 Subject: Re: Beginner's question I just have to add one that has another hopefully helpful bit in it. def printFromMethod(i, s) puts "#{i} bottles of beer" + s end 99.downto(1) do |bottles| printFromMethod(bottles, " on the wall.") printFromMethod(bottles, ".") puts "Take one down and pass it around." printFromMethod(bottles - 1, " on the wall.") puts "" end -- Posted via http://www.ruby-forum.com/.