summaryrefslogtreecommitdiff
path: root/vm_method.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-01-09 13:58:49 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-01-09 13:58:49 +0000
commit78d6e3370238c47d5933703fb55d5ab9e8bc4692 (patch)
tree2f9b875ccab85df48503ae0d95727c5c2108765c /vm_method.c
parentdf0faba1ff958590a02fd668afbf2b525e845b54 (diff)
Fix styles [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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);