One-liner? (1..100).each{|i|puts i%3==0?(i%5==0?"FizzBuzz":"Fizz"):(i%5==0?"Buzz":i)} -- Posted via http://www.ruby-forum.com/.