From: ts Date: 2005-01-20T19:17:18+09:00 Subject: Re: C extensions using Singleton >>>>> "B" == Brian Palmer writes: B> ruby_rpg_class = rb_define_class("RPGEngine", rb_cObject); B> rb_require("singleton"); B> rb_include_module(ruby_rpg_class, rb_const_get(rb_cObject, B> rb_intern("Singleton"))); Add this rb_funcall(rb_const_get(rb_cObject, rb_intern("Singleton")), rb_intern("included"), 1, ruby_rpg_class); Guy Decoux