mirror of
https://github.com/github/rails.git
synced 2026-01-29 16:28:09 -05:00
Don't shadow local var with block var
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7865 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -50,7 +50,7 @@ module ActiveSupport
|
||||
zip(marks + [json.length]).
|
||||
map { |left, right| json[left..right] }.
|
||||
join(" ")
|
||||
times.each { |pos| output[pos-1] = ' ' }
|
||||
times.each { |i| output[i-1] = ' ' }
|
||||
output
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user