From: Tim Hunter Date: 2003-11-27T06:52:11+09:00 Subject: Re: get the class of an instance 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));