From: Gennady Date: 2003-01-16T08:09:54+09:00 Subject: Re: Ruby advocacy in sigs > > > > A small refactoring ;-) -- > > > > 99.downto 1 do |x| > > puts "#{x} #{@b||='bottles of beer'} #{@w||='on the wall'}", > > " #{x} #{@b}!", > > "Take one down, pass it around," end > > puts "No more #{@b} #{@w}!" > > > > Well, the idea is that any reader can understand the code, thus > demonstrating the readability of Ruby. I can't figure out what your code > does, so I doubt a non-rubyist would. > You can't figure it out, yes, but you feel there's something in it (beer? ;-) ), you copy-and-paste the code into the ruby (installing one possibly) and, here we go, you become a Rubyist ;-). Dull print-outs will not attract anybody, however I like the subject. Having said that, Rich Kilmer's signature is the best I've seen so far. I hope using it here as an example is not a copyright violation ;-): trap("SIGINT") { raise [104, 101, 108, 108].pack("cccc") } Gennady.