mirror of
https://github.com/kemko/liquid.git
synced 2026-01-04 09:15:41 +03:00
These are strings already.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user