From: Dave Burt Date: 2005-03-13T05:37:50+09:00 Subject: Re: Ruby black magic? Meta Programming Bruce Willis asked: > My first exposure to Ruby was from Jim, and his "10 things every java > programmer should know about ruby" presentation. > > Anyway, I probably shouldn't even be thinking about this kind of stuff > yet, but one thing in the presentation that I dug a lot was the use of > overriding Kernel#method_missing to queue messages and play them back > in order. > > Anyway, I want to know what other kind of cool,i guess I'll call it > metaprogramming, can be done in ruby. I found this fun: http://www.dave.burt.id.au/ruby/roman_numerals.rb Cheers, Dave