lol!

yeah, I sometimes do that to when I'm trying to figure ruby code
examples.  It's worlds apart.


On 2/27/07, CHH  wrote:
> > I'd write it this way, but only because I'm trying to learn ruby better.
> >
> > 1.upto(100) do |number|
> >   a=''
> >   a+= 'fizz' unless number.modulo(3) != 0
> >   a+= 'buzz' unless number.modulo(5) != 0
> >   a = number if a.empty?
> >   puts a
> > end
>
> That just made me look at my screen like the RCA dog.
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Community/message.cfm/messageid:229051
Subscription: http://www.houseoffusion.com/groups/CF-Community/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5

Reply via email to