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:
Jeremy Kemper
2007-10-13 21:41:56 +00:00
parent 01919cee5f
commit 003df72d00

View File

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