diff options
author | glass <glass@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-15 05:20:11 +0000 |
---|---|---|
committer | glass <glass@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-15 05:20:11 +0000 |
commit | d738fed4ebcce9231856dc22c07965ab26744af4 (patch) | |
tree | 4b4a9bd4c561e3a89f001ebe2f753a9b500c59dc /cont.c | |
parent | 1a42f3683fbd3735c3d217cc4cf31fdc1af1a93e (diff) | |
download | ruby-d738fed4ebcce9231856dc22c07965ab26744af4.tar.gz |
* struct.c (rb_struct_each_pair): use rb_yield_values(2, key, value)
instead of rb_yield(rb_assoc_new(key, value)) if rb_block_arity()
is greater than 1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'cont.c')
0 files changed, 0 insertions, 0 deletions