Remove #to_sym calls from Drop and Variable

Symbols are not needed here and using plain strings is nicer on Ruby
This commit is contained in:
Jason Roelofs
2013-01-16 09:46:17 -05:00
parent c3e6cde67f
commit 7bcb565668
3 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ module Liquid
if matches = f.match(/\s*(\w+)/)
filtername = matches[1]
filterargs = f.scan(/(?:#{FilterArgumentSeparator}|#{ArgumentSeparator})\s*(#{QuotedFragment})/o).flatten
@filters << [filtername.to_sym, filterargs]
@filters << [filtername, filterargs]
end
end
end