From: James Edward Gray II Date: 2005-12-12T00:47:26+09:00 Subject: Re: About class methods On Dec 10, 2005, at 11:16 PM, jonathan leonard wrote: > jonathan leonard > (I think it is also known as >> metaprogramming). > > Actually, according to wikipedia, metaprogramming involves only > rewrites > done at compile time and not run-time (such as lex or yacc, which > generate code). So, I guess this would simply be 'self-modifying' > code. That's not how we generally use it in the Ruby community, but keep in mind that Ruby greatly blurs the compile-time, run-time distinction. My buddy calls Unit Tests, Ruby's compile-time error checking. Hard to argue with that. ;) James Edward Gray II