Fix syntax error in for and htmltags files for compatibility with Rubinius 2.0.0-dev

This commit is contained in:
Chris Kelly 2012-03-09 00:24:31 -08:00
parent b8d7b9aeda
commit db07e2b67e
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ module Liquid
'col0' => col,
'index0' => index,
'rindex' => length - index,
'rindex0' => length - index -1,
'rindex0' => length - index - 1,
'first' => (index == 0),
'last' => (index == length - 1),
'col_first' => (col == 0),

View File

@ -110,7 +110,7 @@ module Liquid
'index' => index + 1,
'index0' => index,
'rindex' => length - index,
'rindex0' => length - index -1,
'rindex0' => length - index - 1,
'first' => (index == 0),
'last' => (index == length - 1) }