On Sun, 14 Nov 2004 01:33:54 +0900
ts <decoux / moulon.inra.fr> wrote:

> >>>>> "B" == Brian =?ISO-8859-15?Q?Schr=F6der?= <Brian> writes:
> 
> B> m = const_get(:Module1).const_get(:SubModule1)
> 
>    m = Object.const_get(:Module1).const_get(:SubModule1)
> 
>  Object is at the the top of the ruby hierarchy
> 
> 
> Guy Decoux
> 
> 

Ah, thanks. I thought that as I were in Kernel, and Kernel is a Object, I could use const_get directly. 

But I imagine that it is a module method, and as such the receiver is the class btw. module not the instance (kernel). Correct?

Thanks,

Brian


-- 
Brian Schröäer
http://www.brian-schroeder.de/