diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-01 15:25:28 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-01 15:25:28 +0000 |
commit | 66fd9d44d87240164588b42c887b6e3d6ee99308 (patch) | |
tree | f2b2fee9d1c6f273e07c32f7f84dc5bb5d7c7ba8 /enum.c | |
parent | 82b1bfe417120de96737de88f406e1b877cef5f7 (diff) |
adjust style.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enum.c')
-rw-r--r-- | enum.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2490,7 +2490,7 @@ enum_chunk(int argc, VALUE *argv, VALUE enumerable) VALUE initial_state; VALUE enumerator; - if(!rb_block_given_p()) + if (!rb_block_given_p()) rb_raise(rb_eArgError, "no block given"); rb_scan_args(argc, argv, "01", &initial_state); |