From: Detlef Reichl Date: 2005-11-13T18:37:44+09:00 Subject: Re: More fun with C On So, 2005-11-13 at 18:16 +0900, Eric Hofreiter wrote: > > Back to the point: can anyone tell me how to use rb_require or rb_const_get? > I get errors when I use them like so: rb_require("myfile"); > rb_const_get(rb_cObject, rb_intern("MyClass")). Hi, i don't know what you want to do but i think what you want is rb_path2class ("MyClass"); > Is there another way to load a file never did it, sorry. > or get a user-defined class name? Thank you for any helpful responses. >