Sha256: f1fad93efd3e13db2cffe49fec6d439aab9eaf96af4bf2567469f0e3ffcc316d

Contents?: true

Size: 237 Bytes

Versions: 10

Compression:

Stored size: 237 Bytes

Contents

class Predicate
  module Literal
    include Expr

    def priority
      100
    end

    def free_variables
      @free_variables ||= []
    end

    def value
      last
    end

    def evaluate(tuple)
      value
    end

  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
predicate-2.2.1 lib/predicate/nodes/literal.rb
predicate-2.2.0 lib/predicate/nodes/literal.rb
predicate-2.1.0 lib/predicate/nodes/literal.rb
predicate-2.0.1 lib/predicate/nodes/literal.rb
predicate-2.0.0 lib/predicate/nodes/literal.rb
predicate-1.3.4 lib/predicate/nodes/literal.rb
predicate-1.3.3 lib/predicate/nodes/literal.rb
predicate-1.3.2 lib/predicate/nodes/literal.rb
predicate-1.3.1 lib/predicate/nodes/literal.rb
predicate-1.3.0 lib/predicate/nodes/literal.rb