Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

removed warning: shadowing outer local variable - exception

  • Loading branch information...
commit ef864c3a2282fb6d7e7aedf4a226ddd810d7d9c2 1 parent beb51b4
@arunagw arunagw authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activesupport/lib/active_support/rescuable.rb
View
2  activesupport/lib/active_support/rescuable.rb
@@ -111,7 +111,7 @@ def handler_for_rescue(exception)
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
Please sign in to comment.
Something went wrong with that request. Please try again.