So I guess I shouldn't submit my TI99/4a Assembly version? :-)

-Mitch

----- Original Message ----- 
From: "Wayne Scott" <wscott / ichips.intel.com>
To: "ruby-talk ML" <ruby-talk / ruby-lang.org>
Sent: Friday, February 23, 2001 5:36 PM
Subject: [ruby-talk:11414] Re: Bottles of Beer finally in Ruby


> 
> From: chad fowler <chadfowler / yahoo.com>
> > I don't think he's maintaining that site.  I sent him
> > a version several months ago.  
> 
> 
> I also summitted a version last October with no response.
> 
> -Wayne
> 
> BTW here is my entry:
> 
> somewhat whimsical
> 
> #!/usr/bin/ruby
> 
> class Fixnum
>     def to_s
> "%d bottle#{self ==1 ? '' : 's'} of beer" % self
>     end
> end
> 
> c = 100
> while c.nonzero?
> print "#{c} on the wall,\n"
> print "#{c},\n"
> print "Take one down, pass it around,\n"
> c -= 1
> print "#{c} on the wall\n\n"
> end
> print "*burp*\n"
> 
>