diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-02-27 07:10:14 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-02-27 07:10:14 +0000 |
commit | cc216f9aae241c2a4407a1d8253909b307df90bb (patch) | |
tree | 19d562d636600e0d8ab66133bd4584b8fbd1ad60 /gc.c | |
parent | 057098bfdcdbdc5bbd26fb51a7f8a37e6f8a2547 (diff) | |
download | ruby-cc216f9aae241c2a4407a1d8253909b307df90bb.tar.gz |
adjust indent and style
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -5562,7 +5562,8 @@ gc_stat(int argc, VALUE *argv, VALUE self) size_t value = 0; gc_stat_internal(arg, &value); return SIZET2NUM(value); - } else if (!RB_TYPE_P(arg, T_HASH)) { + } + else if (!RB_TYPE_P(arg, T_HASH)) { rb_raise(rb_eTypeError, "non-hash or symbol given"); } } @@ -5581,7 +5582,8 @@ rb_gc_stat(VALUE key) size_t value = 0; gc_stat_internal(key, &value); return value; - } else { + } + else { gc_stat_internal(key, 0); return 0; } |