From: nobu.nokada@... Date: 2003-08-20T05:26:05+09:00 Subject: Re: uninitialized constant Myclass (NameError) Hi, At Wed, 20 Aug 2003 02:09:51 +0900, ts wrote: > Not really this (I've added comment in the source :-))) Hmmm. > /* > here rb_const_defined_at() can look in rb_cObject > */ > if (klass == rb_cObject) { > return rb_const_defined(klass, id); > } I guess this is surplus and rb_const_*_at should not search other than given class. > What is the right way to do ? rb_const_get and rb_const_defined could be integrated, and it might be worthwhile. The patch seems too big to post, so I put it at: . -- Nobu Nakada