From: "Iñaki Baz Castillo" Date: 2009-04-04T00:19:38+09:00 Subject: Re: Adding a method to String class as Ruby C extension 2009/4/3 Iñaki Baz Castillo : >  VALUE myClass = rb_define_class_under(myModule, "MyClass", rb_cObject); > > Since rb_cObject means Ruby Object class, could be rb_cString what I'm > looking for? Auto reply: I've found the following example: http://bugs.gentoo.org/attachment.cgi?id=156407 so rb_cString seems to be what I need. -- Iñaki Baz Castillo