diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-04-22 08:19:33 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-04-22 08:19:33 +0000 |
commit | 0749e7be45712357b3ed03fec3d670c7dc542eca (patch) | |
tree | 3e29d6e660d3cb829c2fb42d3919f6c55cd837bc /hash.c | |
parent | 8baadf66d4d303db41cd1abcc827c0f33c39db78 (diff) | |
download | ruby-0749e7be45712357b3ed03fec3d670c7dc542eca.tar.gz |
adjust indent
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'hash.c')
-rw-r--r-- | hash.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -714,12 +714,12 @@ rb_hash_new_from_object(VALUE klass, VALUE obj) #endif } switch (RARRAY_LEN(v)) { - default: + default: rb_raise(rb_eArgError, "invalid number of elements (%ld for 1..2)", RARRAY_LEN(v)); - case 2: + case 2: val = RARRAY_AREF(v, 1); - case 1: + case 1: key = RARRAY_AREF(v, 0); hash_insert_raw(Qfalse, tbl, key, val); } |