Make stuff nicer

This commit is contained in:
Tristan Hume
2013-08-02 15:17:17 -04:00
parent 48f50eea3b
commit 15b53b77d6
4 changed files with 6 additions and 15 deletions
-3
View File
@@ -1,6 +1,4 @@
module Liquid
# This class is used by tags to parse themselves
# it provides helpers and encapsulates state
class Parser
def initialize(input)
l = Lexer.new(input)
@@ -54,7 +52,6 @@ module Liquid
variable_signature
elsif [:string, :number].include? token[0]
consume
token[1]
elsif token.first == :open_round
consume
first = expression