diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-19 07:31:05 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-19 07:31:05 +0000 |
commit | 7588c674d52791a15fa7631ba2628d6547ad1185 (patch) | |
tree | 46dad3625d921c06a2b28a2e11bcce506068aa33 /ChangeLog | |
parent | 2370556d3d8ec4138c4326208a6da7c1c485e908 (diff) | |
download | ruby-7588c674d52791a15fa7631ba2628d6547ad1185.tar.gz |
struct.c: yield assoc in each_pair
* struct.c (rb_struct_each_pair): yield associated pairs so that
an unsplat argument can get both, for consistency with Hash,
OpenStruct, and etc. [ruby-dev:46533] [Bug #7382]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,9 @@ +Mon Nov 19 16:30:59 2012 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * struct.c (rb_struct_each_pair): yield associated pairs so that + an unsplat argument can get both, for consistency with Hash, + OpenStruct, and etc. [ruby-dev:46533] [Bug #7382] + Mon Nov 19 16:17:53 2012 Nobuyoshi Nakada <nobu@ruby-lang.org> * configure.in (LIBS): libelf is need on only FreeBSD. |