Hi, At Tue, 8 Jun 2004 12:36:28 +0900, Sean O'Dell wrote in [ruby-talk:102735]: > I'm writing a little lib in C to do this right now. I'm mostly done. I am > fighting with the Ruby C API's class variable access, otherwise I'd be > finished. See variable.c: VALUE rb_cvar_defined _((VALUE, ID)); #define RB_CVAR_SET_4ARGS 1 void rb_cvar_set _((VALUE, ID, VALUE, int)); VALUE rb_cvar_get _((VALUE, ID)); void rb_cv_set _((VALUE, const char*, VALUE)); VALUE rb_cv_get _((VALUE, const char*)); void rb_define_class_variable _((VALUE, const char*, VALUE)); VALUE rb_mod_class_variables _((VALUE)); VALUE rb_mod_remove_cvar _((VALUE, VALUE)); -- Nobu Nakada