aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/clean_logger_test.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2016-08-24 16:01:55 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2016-08-24 16:01:55 -0700
commit804f5b3c2af90b69a51209c56739a077f3fb632b (patch)
tree775ba004ce2f11288490e6843b0d0d6859129728 /activesupport/test/clean_logger_test.rb
parentc104940363ee616c3ea9e0eeb085e39740211fdf (diff)
downloadrails-804f5b3c2af90b69a51209c56739a077f3fb632b.tar.gz
rails-804f5b3c2af90b69a51209c56739a077f3fb632b.tar.bz2
rails-804f5b3c2af90b69a51209c56739a077f3fb632b.zip
kick different instrumentation method
We can eliminate a conditional by calling a different instrumentation method depending on the situation. In this case, we'll call the special case "!render_template" instrumentation method and eliminate the case / when clause from the `instrument` method.
Diffstat (limited to 'activesupport/test/clean_logger_test.rb')
0 files changed, 0 insertions, 0 deletions