lib/jsonpath/enumerable.rb in jsonpath-0.4.1 vs lib/jsonpath/enumerable.rb in jsonpath-0.4.2
- old
+ new
@@ -65,10 +65,10 @@
end
end
private
def yield_value(blk, context, key)
- @substitute_with = nil
+ @substitute_with = nil
case @mode
when nil
blk.call(key ? context[key] : context)
when :substitute
if key