module Predicate::Native
Public Instance Methods
and_split(attr_list)
click to toggle source
overriden because parent relies on free_variables
, which raises an exception
# File lib/predicate/nodes/native.rb, line 13 def and_split(attr_list) # I possibly make references to those attributes, so # I can't be P2 [ self, tautology ] end
attr_split()
click to toggle source
overriden because parent relies on free_variables
, which raises an exception
# File lib/predicate/nodes/native.rb, line 21 def attr_split { nil => self } end
evaluate(tuple)
click to toggle source
# File lib/predicate/nodes/native.rb, line 25 def evaluate(tuple) proc.call(tuple) end
free_variables()
click to toggle source
# File lib/predicate/nodes/native.rb, line 29 def free_variables raise NotSupportedError end
priority()
click to toggle source
# File lib/predicate/nodes/native.rb, line 5 def priority; 90; end
proc()
click to toggle source
# File lib/predicate/nodes/native.rb, line 7 def proc self[1] end