[Nitro] [OG] eval and style
george.moschovitis at gmail.com
Wed Jan 31 16:57:37 EST 2007
I am not sure it is possible to do the code generation needed for enchant
without using string evals. If some Ruby Guru (Trans or someone else?) can
prove me wrong by all means show me how to do it ;-)
On 1/31/07, nyarly at gmail.com <nyarly at gmail.com> wrote:
> I'm reasonably new to Og, although I've followed Nitro + Og for some
> time. Now that I'm digging into Og for my own purposes, I have some
> questions about the way it's structured.
> Mostly, I'm curious about the decision for the #enchant methods to
> eval strings on the target classes. Is there a reason to prefer this
> over eval'ing a block, and doing the string interpolations in
> define_method calls? If nothing else, this buys nicer backtraces that
> go through the #enchant results.
> Nitro-general mailing list
> Nitro-general at rubyforge.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Nitro-general