mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Remove warning: shadowing outer local variable
This commit is contained in:
parent
239a97af55
commit
760b8d37d4
1 changed files with 1 additions and 1 deletions
|
@ -282,7 +282,7 @@ module ActiveSupport
|
|||
if entry
|
||||
get_entry_value(entry, name, options)
|
||||
else
|
||||
save_block_result_to_cache(name, options) { |name| yield name }
|
||||
save_block_result_to_cache(name, options) { |_name| yield _name }
|
||||
end
|
||||
else
|
||||
read(name, options)
|
||||
|
|
Loading…
Reference in a new issue