We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab89281 commit 5e3d8f4Copy full SHA for 5e3d8f4
lib/liquid/context.rb
@@ -175,7 +175,8 @@ def []=(key, value)
175
# Example:
176
# products == empty #=> products.empty?
177
def [](expression)
178
- evaluate(Expression.parse(expression, @string_scanner))
+ @string_scanner.string = expression
179
+ evaluate(Parser.new(@string_scanner).expression)
180
end
181
182
def key?(key)
0 commit comments