diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2012-03-24 04:25:52 -0700 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2012-03-24 04:25:52 -0700 |
commit | 780ab582091cf06ded9540a5d4fef23086e9bac3 (patch) | |
tree | c175212505098d4c59b089d9bd47d029342b450b | |
parent | beb51b4d5f73abc5be6a82a9d63d3cce6de5a9a2 (diff) | |
parent | ef864c3a2282fb6d7e7aedf4a226ddd810d7d9c2 (diff) | |
download | rails-780ab582091cf06ded9540a5d4fef23086e9bac3.tar.gz rails-780ab582091cf06ded9540a5d4fef23086e9bac3.tar.bz2 rails-780ab582091cf06ded9540a5d4fef23086e9bac3.zip |
Merge pull request #5569 from arunagw/warning_remove_master
removed warning: shadowing outer local variable - exception
-rw-r--r-- | activesupport/lib/active_support/rescuable.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/rescuable.rb b/activesupport/lib/active_support/rescuable.rb index 0fbe6e5b29..85e84bc203 100644 --- a/activesupport/lib/active_support/rescuable.rb +++ b/activesupport/lib/active_support/rescuable.rb @@ -111,7 +111,7 @@ module ActiveSupport if rescuer.arity == 0 Proc.new { instance_exec(&rescuer) } else - Proc.new { |exception| instance_exec(exception, &rescuer) } + Proc.new { |_exception| instance_exec(_exception, &rescuer) } end end end |