These are strings already.

This commit is contained in:
thedarkone
2011-01-28 23:24:18 +01:00
committed by Tobias Lütke
parent a24049906b
commit a65c4f51bc

View File

@@ -133,9 +133,9 @@ module Liquid
else
case key
when /^'(.*)'$/ # Single quoted strings
$1.to_s
$1
when /^"(.*)"$/ # Double quoted strings
$1.to_s
$1
when /^(\d+)$/ # Integer and floats
$1.to_i
when /^\((\S+)\.\.(\S+)\)$/ # Ranges