aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/dependencies_test_helpers.rb
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2017-09-27 13:18:34 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2017-09-27 14:02:12 +0900
commitde9e3238a008f8f20c5beedefb8787b6e51359d0 (patch)
treef46bd3643758534647907f5529e9e3d89aeee77e /activesupport/test/dependencies_test_helpers.rb
parent48ef5e0ad500bdba706f10b65456f3b03b556212 (diff)
downloadrails-de9e3238a008f8f20c5beedefb8787b6e51359d0.tar.gz
rails-de9e3238a008f8f20c5beedefb8787b6e51359d0.tar.bz2
rails-de9e3238a008f8f20c5beedefb8787b6e51359d0.zip
Ensure `HashWithIndifferentAccess#transform_keys` to return `HashWithIndifferentAccess`
Currently, `#transform_values`, `#select` and `#reject` return instance of `HashWithIndifferentAccess`. But `#transform_keys` returns instance of Hash. This behavior is a bit confusing. I think that `HashWithIndifferentAccess#transform_keys` should also return instance of `HashWithIndifferentAccess` as well as other methods.
Diffstat (limited to 'activesupport/test/dependencies_test_helpers.rb')
0 files changed, 0 insertions, 0 deletions