From: gabriele renzi Date: 2004-04-28T16:49:03+09:00 Subject: Re: Learning extending ruby il 28 Apr 2004 00:02:46 -0700, dwerder@gmx.net (Dominik Werder) ha scritto:: >Hello! > >Could somebody help me with this small piece of code? >I'm learning how to extend ruby with C code. >What I want to do here is creating a class in C and use it in ruby. you want this? VALUE rb_define_class(const char *name, VALUE super) >BTW: Is there any good doc beside the prag. prog. guide about extending ruby? README.EXT may help http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/README.EXT?rev=1.18