aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/dependencies_test_helpers.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2015-08-12 15:50:14 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2015-08-12 15:50:14 -0700
commitf514c9c04aeef8b2a90dc1bfc97d7dff833bdcd8 (patch)
treee0c9fabd82db0d62a1c0ac540e63c239356dc1d0 /activesupport/test/dependencies_test_helpers.rb
parent33d20ea18474e5c7a14d72fcbafc0c63bf812aba (diff)
downloadrails-f514c9c04aeef8b2a90dc1bfc97d7dff833bdcd8.tar.gz
rails-f514c9c04aeef8b2a90dc1bfc97d7dff833bdcd8.tar.bz2
rails-f514c9c04aeef8b2a90dc1bfc97d7dff833bdcd8.zip
don't mutate the caller's variables
Remove the `options` reader from `Resource` because nobody needs to see that hash. Also remove mutations on the options hash in `apply_common_behavior_for` because leaving the side effects in that method makes it difficult to understand what is going on in the caller.
Diffstat (limited to 'activesupport/test/dependencies_test_helpers.rb')
0 files changed, 0 insertions, 0 deletions