From: Tim Hunter Date: 2008-09-19T20:35:28+09:00 Subject: Re: rb_include_module() doesn't call Module#included ddungum@gmail.com wrote: > By the way, if I replace rb_include_module call with this, > Module#included is called fortunately. > > VALUE args [1] = { rb_str_new2("include Serializable") }; > rb_mod_module_eval( 1, args, klass ); > > But I don't want to use eval function because it's relatively slow. You could use rb_funcall instead. -- RMagick: http://rmagick.rubyforge.org/