lib/predicate/processors/to_s.rb in predicate-2.2.1 vs lib/predicate/processors/to_s.rb in predicate-2.3.0
- old
+ new
@@ -79,9 +79,10 @@
protected
def to_literal(x)
case x
+ when Placeholder then "$#{x.object_id}"
when Array then "{" << x.map{|y| to_literal(y) }.join(',') << "}"
else x.inspect
end
end