mirror of https://github.com/rails/rails
warning removed: shadowing outer local variable - message
This commit is contained in:
parent
bb732beba7
commit
948a055f23
|
@ -35,8 +35,8 @@ module ActiveSupport
|
|||
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue