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 | bbd58fa2b956a33c035dbddc83e9efbe07ee7276 (patch) | |
tree | 6465e05d16a1f6deb7ff51230227e4b75d99d4d4 /bootstraptest/test_struct.rb | |
parent | 5b3b8554c9f851a958c03fc707bd69e6ad6c5c13 (diff) | |
download | ruby-bbd58fa2b956a33c035dbddc83e9efbe07ee7276.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 'bootstraptest/test_struct.rb')
0 files changed, 0 insertions, 0 deletions