From 48f50eea3be820d9503965aa3233b6d176d9bc08 Mon Sep 17 00:00:00 2001 From: Tristan Hume Date: Fri, 2 Aug 2013 15:12:11 -0400 Subject: [PATCH] Remove unused lex_specials method --- lib/liquid/lexer.rb | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/lib/liquid/lexer.rb b/lib/liquid/lexer.rb index 536be02..89e0849 100644 --- a/lib/liquid/lexer.rb +++ b/lib/liquid/lexer.rb @@ -50,15 +50,5 @@ module Liquid @output << tok end end - - protected - def lex_specials - c = @ss.getch - if s = SPECIALS[c] - return Token.new(s,c) - end - - raise SyntaxError, "Unexpected character #{c}." - end end end