summaryrefslogtreecommitdiff
path: root/class.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-09-27 10:20:56 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-09-27 10:20:56 +0900
commit0c6f36668a11902903d85ada61a812d297d02de5 (patch)
tree0e976fcb5b4291258fa80c8f07249cad99d49cc6 /class.c
parent293c6c8cc3cd9a9cb2910672589ee3631e1f1653 (diff)
Adjusted spaces [ci skip]
Diffstat (limited to 'class.c')
-rw-r--r--class.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/class.c b/class.c
index d0ee7a6..b4aeb59 100644
--- a/class.c
+++ b/class.c
@@ -1974,9 +1974,9 @@ rb_scan_args_parse(int kw_flag, int argc, const VALUE *argv, const char *fmt, st
arg->last_idx = -1;
arg->hash = Qnil;
- switch(kw_flag) {
+ switch (kw_flag) {
case RB_SCAN_ARGS_PASS_CALLED_KEYWORDS:
- if(!(keyword_given = rb_keyword_given_p())) {
+ if (!(keyword_given = rb_keyword_given_p())) {
empty_keyword_given = rb_empty_keyword_given_p();
}
break;