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, 2 insertions, 1 deletions
diff --git a/vm_method.c b/vm_method.c
index ba219e2d99..3333ea16b4 100644
--- a/vm_method.c
+++ b/vm_method.c
@@ -1296,7 +1296,8 @@ check_definition_visibility(VALUE mod, int argc, VALUE *argv)
if (argc == 1) {
inc_super = 1;
- } else {
+ }
+ else {
inc_super = RTEST(include_super);
if (!inc_super) {
lookup_mod = RCLASS_ORIGIN(mod);