From: "Federico ZagarzazĂș" Date: 2007-06-04T12:34:27+09:00 Subject: Re: FizzBuzz (#126) Finally a quiz for newbies like me. :) ARGV[0].to_i.upto(ARGV[1].to_i) do |x| puts case [15,5,3].find {|i| x % i == 0} when 15 : 'FizzBuzz' when 5 : 'Buzz' when 3 : 'Fizz' when nil: x end end Thanks a lot for the quizzes, I'm teaching myself ruby with them. ps: Is it ok to send solutions of previous quizzes?