From 7dc3baa96b774af048f0c15cbd778ccfec7055fc Mon Sep 17 00:00:00 2001 From: Guillermo Iguaran Date: Thu, 14 Nov 2013 01:57:09 -0500 Subject: Get rid of unused variable --- activesupport/lib/active_support/core_ext/kernel/reporting.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activesupport/lib/active_support/core_ext/kernel/reporting.rb b/activesupport/lib/active_support/core_ext/kernel/reporting.rb index be34eb505b..df11737a6b 100644 --- a/activesupport/lib/active_support/core_ext/kernel/reporting.rb +++ b/activesupport/lib/active_support/core_ext/kernel/reporting.rb @@ -60,7 +60,7 @@ module Kernel # puts 'This code gets executed and nothing related to ZeroDivisionError was seen' def suppress(*exception_classes) yield - rescue *exception_classes => e + rescue *exception_classes end # Captures the given stream and returns it: -- cgit v1.2.3