Avoid warning for grouped expression

This commit is contained in:
Marcus Stollsteimer
2012-11-18 10:08:00 +01:00
parent 05d9976e16
commit fea9c54768

View File

@@ -57,7 +57,7 @@ module Liquid
result << "<td class=\"col#{col}\">" << render_all(@nodelist, context) << '</td>'
if col == cols and not (index == length - 1)
if col == cols and (index != length - 1)
col = 0
row += 1
result << "</tr>\n<tr class=\"row#{row}\">"