------art_11853_5853627.1181007873172
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

> After that, I modified it slightly to remove some duplication:
>
> 1.upto(100) {|i| m3  %3 0; m5  %5 0; x; x<<"Fizz" if m3;
> x<<"Buzz" if m5; xunless m3||m5; print "#{x} "}


I like this solution, but I'm sorry.. I just had to golf it! :)

1.upto(100) {|i| x  Fizz" if i%3 0; x  x || "") + "Buzz" if i%5 0;
print x||i,' '}

-- 
Peter Cooper
http://www.rubyinside.com/

------art_11853_5853627.1181007873172--