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 /doc | |
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 'doc')
0 files changed, 0 insertions, 0 deletions