diff options
Diffstat (limited to 'object.c')
-rw-r--r-- | object.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1312,11 +1312,11 @@ rb_class_s_alloc(VALUE klass) * a.meth2 #=> "bye" */ -extern VALUE rb_mod_module_exec(int argc, VALUE *argv, VALUE mod); - static VALUE rb_mod_initialize(VALUE module) { + extern VALUE rb_mod_module_exec(int argc, VALUE *argv, VALUE mod); + if (rb_block_given_p()) { rb_mod_module_exec(1, &module, module); } |