From: "Chr. Rippel" Date: 2002-01-13T03:26:25+09:00 Subject: Re: class name reported differently in different contexts "ts" wrote in .... > In a very special (and private) extension yes, but probably this can be > coded another way. .... Hm, continuing the language layering;-) the ability of retrieving a constant seems to indepent from the fact if the classpath is (correctly) set or not. In cvs you get ----- class T Y = Class.new do $self = self Class.new do $self.const_set :A , self end class B;end p self # => # p B # => #::B p A # => # const_get :A const_get :B end class Y p B # => #::B p A # => T::Y::A const_get :A const_get :B end end ---- /Christoph