Collapse float and int into 'number'

This commit is contained in:
Tristan Hume
2013-07-29 11:04:46 -04:00
parent be4a04ed85
commit bc76c0daaf
4 changed files with 12 additions and 14 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ module Liquid
token = @tokens[@p]
if token[0] == :id
variable_signature
elsif [:string, :integer, :float].include? token[0]
elsif [:string, :number].include? token[0]
consume
token[1]
else