Sha256: 2a8ecb2a1cc20b96ccf36ef6f1cd422a7e01ccec214d3bb29d9aaa5c1c58b194
Contents?: true
Size: 415 Bytes
Versions: 5
Compression:
Stored size: 415 Bytes
Contents
class Predicate module Intersect include Expr def priority 80 end def identifier self[1] end def values self[2] end def free_variables @free_variables ||= identifier.free_variables end def constant_variables [] end def evaluate(tuple) t_x = identifier.evaluate(tuple) t_x && !(t_x & values).empty? end end end
Version data entries
5 entries across 5 versions & 1 rubygems