Merge pull request #107 from amateurhuman/syntax-error-fixes-for-rubinius

Fix syntax error in htmltags.rb and for.rb for compatibility with rbx-2.0.0-dev (1.9.3)
This commit is contained in:
Jonathan Rudenberg
2012-06-07 12:14:35 -07:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ module Liquid
'col0' => col, 'col0' => col,
'index0' => index, 'index0' => index,
'rindex' => length - index, 'rindex' => length - index,
'rindex0' => length - index -1, 'rindex0' => length - index - 1,
'first' => (index == 0), 'first' => (index == 0),
'last' => (index == length - 1), 'last' => (index == length - 1),
'col_first' => (col == 0), 'col_first' => (col == 0),
+1 -1
View File
@@ -110,7 +110,7 @@ module Liquid
'index' => index + 1, 'index' => index + 1,
'index0' => index, 'index0' => index,
'rindex' => length - index, 'rindex' => length - index,
'rindex0' => length - index -1, 'rindex0' => length - index - 1,
'first' => (index == 0), 'first' => (index == 0),
'last' => (index == length - 1) } 'last' => (index == length - 1) }