diff options
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1263,7 +1263,7 @@ mod_using(VALUE self, VALUE module) } Check_Type(module, T_MODULE); rb_using_module(cref, module); - rb_clear_cache_by_class(rb_cObject); + rb_clear_method_cache_by_class(rb_cObject); return self; } @@ -1399,7 +1399,7 @@ top_using(VALUE self, VALUE module) } Check_Type(module, T_MODULE); rb_using_module(cref, module); - rb_clear_cache_by_class(rb_cObject); + rb_clear_method_cache_by_class(rb_cObject); return self; } |