On Thu, 20 May 2004 23:05:10 +0900, Kent S. wrote:

> Use Object#extend instead of include.

Thanks for the tip.

I need the constants defined in the module to be included in my class, it
seems that extend only includes the instance methods.

$ ri extend
---------------------------------------------------------- Object#extend
     obj.extend(module, ...)    => obj
------------------------------------------------------------------------
     Adds to _obj_ the instance methods from each module given as a
     parameter.

Any thoughts about this?

Regards,

Brian

-- 
Brian Schr?der
http://www.brian-schroeder.de/