lib/predicate/nodes/native.rb in predicate-1.2.0 vs lib/predicate/nodes/native.rb in predicate-1.3.0

- old
+ new

@@ -34,9 +34,13 @@ def to_proc(scope = 't') proc end + def evaluate(tuple) + proc.call(tuple) + end + def free_variables raise NotSupportedError end end