Hi,

At Wed, 1 Oct 2008 09:32:19 +0900,
Joe Damato wrote in [ruby-core:19059]:
> fprintf(stderr, "class name: %s\n", 
> RSTRING(rb_class_path(obj->as.basic.klass))->ptr);

For anonymous class, RSTRING_PTR(rb_class_path(CLASS_OF(obj))).

> class name: #<Class:0xb7e1158> Why doesn't it output something like: 
> #<Test:0x...> ? 

The former is an anonymous class, and the latter is an instance
of a named class.

-- 
Nobu Nakada