Sha256: cf22aee2ec6bc2d1187c8eca822a88959d8784e6e21a3db5f06dc1ad411137f5

Contents?: true

Size: 256 Bytes

Versions: 8

Compression:

Stored size: 256 Bytes

Contents

class Predicate
  module Opaque
    include Expr

    def priority
      100
    end

    def free_variables
      @free_variables ||= []
    end

    def evaluate(tuple)
      raise NotImplementedError, "Opaque#evaluate is not defined"
    end

  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
predicate-2.4.0 lib/predicate/nodes/opaque.rb
predicate-2.3.3 lib/predicate/nodes/opaque.rb
predicate-2.3.2 lib/predicate/nodes/opaque.rb
predicate-2.3.1 lib/predicate/nodes/opaque.rb
predicate-2.3.0 lib/predicate/nodes/opaque.rb
predicate-2.2.1 lib/predicate/nodes/opaque.rb
predicate-2.2.0 lib/predicate/nodes/opaque.rb
predicate-2.1.0 lib/predicate/nodes/opaque.rb