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

Thank you very much for you help.

Brian

2011/5/12 Y. NOBUOKA <nobuoka / r-definition.com>

> Hi,
>
> Yes, a +define_method+ method is an instance method of the +Module+ class,
> as you said. However, the method is PRIVATE [1], so you can't find it by
> using
> your code.
> Please use following code instead.
>
> (on ruby 1.9.2-p180)
> Mocdule.private_instance_methods.include? :define_method
> true
>
> [1] http://ruby-doc.org/core/classes/Module.html#M000497
>
> Regards,
> --
> NOBUOKA Yu
>
>

--0023545bde24cb71f404a310c54b--