Proper short variable name

This commit is contained in:
uu59 2015-04-08 17:04:18 +09:00 committed by yoshihara
parent 8c5a959b97
commit 9207ca420f

View File

@ -76,8 +76,8 @@ class RegexpPreview
def multiline_detect(lines, regexps)
whole = ""
matches = []
lines.each_with_index do |line, j|
m = line.match(multiline_regexps[j])
lines.each_with_index do |line, i|
m = line.match(multiline_regexps[i])
unless m
return nil
end