Remove unnecessary blank? code

This commit is contained in:
Florian Weingarten
2014-07-22 21:19:12 +00:00
parent 5fc1929b73
commit 1e0e9f1f31
7 changed files with 7 additions and 22 deletions
+2 -2
View File
@@ -11,7 +11,7 @@ module Liquid
end
def blank?
@blank || false
@blank
end
def parse(tokens)
@@ -49,7 +49,7 @@ module Liquid
else
raise SyntaxError.new(options[:locale].t("errors.syntax.tag_termination".freeze, :token => token, :tag_end => TagEnd.inspect))
end
when token.start_with?(VARSTART)
when token.start_with?(VARSTART)
new_var = create_variable(token)
@nodelist << new_var
@children << new_var