Hi,

At Fri, 25 Apr 2003 06:34:24 +0900,
Simon Strandgaard wrote:
> 	char *name_of_class = "test";
	                      "Test";

Class name must be a constant name.

> 	VALUE klass = rb_const_get(rb_cObject, rb_intern(name_of_class));

Or:
	VALUE klass = rb_path2class(name_of_class);

This can handle nested classes.

-- 
Nobu Nakada