aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/rescuable.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/lib/active_support/rescuable.rb')
-rw-r--r--activesupport/lib/active_support/rescuable.rb2
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