diff options
Diffstat (limited to 'eval_intern.h')
-rw-r--r-- | eval_intern.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/eval_intern.h b/eval_intern.h index e858d79c3e..266a84601e 100644 --- a/eval_intern.h +++ b/eval_intern.h @@ -182,7 +182,8 @@ CREF_CLASS(const rb_cref_t *cref) { if (CREF_SINGLETON(cref)) { return CLASS_OF(cref->klass_or_self); - } else { + } + else { return cref->klass_or_self; } } @@ -192,7 +193,8 @@ CREF_CLASS_FOR_DEFINITION(const rb_cref_t *cref) { if (CREF_SINGLETON(cref)) { return rb_singleton_class(cref->klass_or_self); - } else { + } + else { return cref->klass_or_self; } } |