diff options
author | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-04-09 04:07:53 +0000 |
---|---|---|
committer | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-04-09 04:07:53 +0000 |
commit | 6b18a8c2e9540f67de5887f899d73e100c3ce13f (patch) | |
tree | 5037c18957dd3217a1efd6e392ef957e4b2c5f99 /NEWS | |
parent | 6cb7ac7e155b15d542297eac32b2cd03efca8b60 (diff) | |
download | ruby-6b18a8c2e9540f67de5887f899d73e100c3ce13f.tar.gz |
* hash.c (rb_hash_set_default_proc): Accept nil, patch by Run Paint
[Feature #4234]
* test/ruby/test_hash.rb: test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -21,6 +21,10 @@ with all sufficient information, see the ChangeLog file. * added method: * added Enumerable#lazy method for lazy enumeration. + * Hash + * extended method: + * Hash#default_proc= can be passed nil to clear the default proc. + * Kernel * added method: * added Kernel#Hash conversion method like Array() or Float(). |