diff options
Diffstat (limited to 'vm_method.c')
-rw-r--r-- | vm_method.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vm_method.c b/vm_method.c index b8b3b579aa..41064ad9b4 100644 --- a/vm_method.c +++ b/vm_method.c @@ -42,7 +42,8 @@ rb_clear_cache_by_class(VALUE klass) if (klass && klass != Qundef) { if (klass == rb_cBasicObject || klass == rb_cObject || klass == rb_mKernel) { INC_VM_STATE_VERSION(); - } else { + } + else { rb_class_clear_method_cache(klass); } } |