mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
warning removed: shadowing outer local variable - message
This commit is contained in:
parent
bb732beba7
commit
948a055f23
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue