From: Elias Athanasopoulos Date: 2003-12-03T03:53:49+09:00 Subject: Re: get the class of an instance On Thu, Nov 27, 2003 at 06:52:11AM +0900, Tim Hunter wrote: > On Thu, 27 Nov 2003 05:42:22 +0900, Elias Athanasopoulos wrote: > > > Hello! > > > > I want to get the class of an object through the Ruby C API. Actually, I > > want what foo.class does. > > > > VALUE foo; > char *name; > > name = rb_class2name(CLASS_OF(foo)); That was the trick. Thanx. Apologies for my delayed answer. Regards, -- University of Athens I bet the human brain Physics Department is a kludge --Marvin Minsky