From: Leo Date: 2002-01-19T06:19:08+09:00 Subject: Re: dynamic method creation "Albert L. Wagner" writes: > I have a need to dynamically create methods with method names > that are not known until run time. Below is my current best > shot. Is there a better way? If methods allowed expressions as > names, and not just as qualifiers, I wouldn't need the eval. You just asked for lisp/scheme type macros. This issue has come on this list several times in the past. Everybody understands how great it would be to have Ruby macros. It will clearly sky rocket Ruby past Perl/Pyhon. But, AFAIK, nothing practical came out. So the answer to your question: you have to use some sort of eval and suffer from its slowness (it kicks off Ruby parser...). --Leo-- E-mail: