1
0
Fork 0
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:
Carlos Antonio da Silva 2013-01-19 19:35:24 -02:00
parent 239a97af55
commit 760b8d37d4

View file

@ -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)