diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-10-13 08:06:00 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-10-13 08:06:00 +0000 |
commit | c4427fc7fe081c7dc88207e469100d835d170c37 (patch) | |
tree | 6465e05d16a1f6deb7ff51230227e4b75d99d4d4 /ChangeLog | |
parent | fb5a255755b44d80f181b58cfea1647d0d64148a (diff) | |
download | ruby-c4427fc7fe081c7dc88207e469100d835d170c37.tar.gz |
hash.c: add compact and compact! methods
* hash.c (rb_hash_compact, rb_hash_compact_bang): Removes nil
values from the original hash, to port Active Support behavior.
[Feature #11818]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56414 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 @@ +Thu Oct 13 17:05:57 2016 Dwain Faithfull <dwfaithfull@gmail.com> + + * hash.c (rb_hash_compact, rb_hash_compact_bang): Removes nil + values from the original hash, to port Active Support behavior. + [Feature #11818] + Thu Oct 13 11:35:33 2016 Nobuyoshi Nakada <nobu@ruby-lang.org> * array.c (rb_ary_sort_bang, rb_ary_sort, rb_ary_sort_by_bang): |