From: Rick DeNatale Date: 2007-03-03T09:30:00+09:00 Subject: Re: Smallest FizzBuzz program On 3/2/07, Robert Dober wrote: > On 3/3/07, Rick DeNatale wrote: > > 1.upto(?d){|i|p ["%sBuzz"%x=[:Fizz][i%3]][i%5]||x||i} > > > > Code golfing is against my religious beliefs however. > good decision ;) 'cause you are cheating, the output format of p is > not what is required :( > Robert And here I could have sworn that I'd actually tried that very code in irb. That's why I'm against code golfing, rots the brain! ;-) -- Rick DeNatale My blog on Ruby http://talklikeaduck.denhaven2.com/