diff options
author | Yusuke Endoh <mame@ruby-lang.org> | 2020-12-18 14:12:15 +0900 |
---|---|---|
committer | Yusuke Endoh <mame@ruby-lang.org> | 2020-12-18 16:08:24 +0900 |
commit | c4e50b58d1e6f030b24faffbc208d3d454d1f433 (patch) | |
tree | c066b7ffca4738a4e00b42cb55f6ffcc025b9e99 /vm_method.c | |
parent | 0a60ba923e044ec2e84ac63406ca85b7bb8fc73f (diff) | |
download | ruby-c4e50b58d1e6f030b24faffbc208d3d454d1f433.tar.gz |
Revert "Added missing tests for public, private, protected and alias_method"
This reverts commit e042e8460bb9a63c05f938d51e8c7c5345a6f3a4.
Diffstat (limited to 'vm_method.c')
-rw-r--r-- | vm_method.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vm_method.c b/vm_method.c index f0f6580270..e2c5bfb064 100644 --- a/vm_method.c +++ b/vm_method.c @@ -2004,8 +2004,7 @@ set_method_visibility(VALUE self, int argc, const VALUE *argv, rb_method_visibil for (j = 0; j < RARRAY_LEN(v); j++) { check_and_export_method(self, RARRAY_AREF(v, j), visi); } - } - else { + } else { for (i = 0; i < argc; i++) { check_and_export_method(self, argv[i], visi); } |