> I usually try to avoid those inline strings. I don't like them.
> As long as you don't pass a block in the call to the
> dynamically defined method, you can use "define_method"
> instead.
>

Seconded, metaprogramming code like that will get a major performance hit if 
you whack YARV at it. Unless there's a shaman embedding voodoo chants into 
YARV code for optimization of variable evals.

(Sidenote: it seems #eval is slightly faster than #define_method in trivial 
benchmarks.)

David Vallner