On Nov 13, 2007 8:24 AM, Trans <transfire / gmail.com> wrote:
> This will, of course, print "foo" forever.
>
> As an aside, anyone else think method_added should also receive a
> block of the method definition? E.g. this would be a "push" (less the
> infinite loop issue):
>
>     def self.method_added(name, &block)
>       define_method(name, &block)
>     end

I might be missing something, but I cannot think of a practical use
for that.  It re-defined the method with the same name and
content....Why?

>
> Thanks!
> T.
>
>
>



-- 
Chris Carter
concentrationstudios.com
brynmawrcs.com