summaryrefslogtreecommitdiff
path: root/vm_method.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm_method.c')
-rw-r--r--vm_method.c3
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);
}