aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/test/template/number_helper_test.rb
diff options
context:
space:
mode:
authorPeter Jaros <peter.a.jaros@gmail.com>2013-10-15 15:45:07 -0400
committerPeter Jaros <peter.a.jaros@gmail.com>2014-03-28 10:25:06 -0400
commit03f35a27dc88335550ca0ab1d21e46948c9f5093 (patch)
treec1ba24a651170c407b93f0d43696ba8622e551d6 /actionview/test/template/number_helper_test.rb
parentdd3ea17191e316aeebddaa7b176f6cfeee7a6365 (diff)
downloadrails-03f35a27dc88335550ca0ab1d21e46948c9f5093.tar.gz
rails-03f35a27dc88335550ca0ab1d21e46948c9f5093.tar.bz2
rails-03f35a27dc88335550ca0ab1d21e46948c9f5093.zip
HashWithIndifferentAccess better respects #to_hash
In particular, `.new`, `#update`, `#merge`, `#replace` all accept objects which respond to `#to_hash`, even if those objects are not Hashes directly.
Diffstat (limited to 'actionview/test/template/number_helper_test.rb')
0 files changed, 0 insertions, 0 deletions