From: ts Date: 2002-05-27T21:35:52+09:00 Subject: Re: creating singleton class from C++ >>>>> "M" == Martin Man writes: M> this approach fails at rb_require, since $: is empty, however it seems to me M> strange to set up $: manually... You must call ruby_init_loadpath() M> rb_singleton_class (cMy) You retrieve what is called the singleton class associated with a class, i.e. it don't do what you want. Guy Decoux