diff options
author | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-04-16 03:16:10 +0000 |
---|---|---|
committer | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-04-16 03:16:10 +0000 |
commit | 1dbe0f0672cfc16c875d0a47bde266ddbaa8ba98 (patch) | |
tree | e1830cf693e2c6fae36a7a68dd5bd77ce67d1510 /NEWS | |
parent | 33399fe8248a25132343b1b5be3a35357c3d9099 (diff) | |
download | ruby-1dbe0f0672cfc16c875d0a47bde266ddbaa8ba98.tar.gz |
* struct.c: Add Struct#to_h [Feature #6276]
[ref #4862] [rubyspec:2082ef46d46e]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -52,6 +52,11 @@ with all sufficient information, see the ChangeLog file. * Signal.trap raises ArgumentError when :SEGV, :BUS, :ILL, :FPE, :VTALRM are specified. + * Struct + * added method: + * added Struct#to_h returning values with keys corresponding to the + instance variable names. + * Time * change return value: * Time#to_s returned encoding defaults to US-ASCII but automatically |