--bcaec5016525149e9804b35c8367
Content-Type: text/plain; charset=ISO-8859-1

On Mon, Dec 5, 2011 at 10:00 AM, Chuck Remes <cremes.devlist / mac.com> wrote:
>
>
> Pete, thanks for figuring out another approach. I prefer building a string
> and eval'ing it because it's easier (IMHO) to verify that the generated
> code is correct by examining the string. Using #define_method works quite
> well too, but when something is wrong with the method definition it's a bit
> tougher to track down and fix.
>
> cr
>

I respectfully disagree, but you should write your code how you like your
code written. In either case, some test cases would go a long way to making
sure you're getting the right behavior.

pete

--bcaec5016525149e9804b35c8367--