Skip to content
Browse files

warning removed: shadowing outer local variable - message

  • Loading branch information...
1 parent bb732be commit 948a055f2375fa17ea5aa1cc2b81a226a4660598 @arunagw arunagw committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 activesupport/lib/active_support/deprecation/reporting.rb
View
4 activesupport/lib/active_support/deprecation/reporting.rb
@@ -35,8 +35,8 @@ def silence
end
def deprecation_warning(deprecated_method_name, message = nil, caller_backtrace = caller)
- deprecated_method_warning(deprecated_method_name, message).tap do |message|
- warn(message, caller_backtrace)
+ deprecated_method_warning(deprecated_method_name, message).tap do |msg|
+ warn(msg, caller_backtrace)
end
end

0 comments on commit 948a055

Please sign in to comment.
Something went wrong with that request. Please try again.