Sha256: 5cb0aaa2f1b72250a8d1028b032263371af9469ef1bf96a0a085fa8c809cd8aa

Contents?: true

Size: 193 Bytes

Versions: 19

Compression:

Stored size: 193 Bytes

Contents

class Predicate
  module Neq
    include DyadicComp

    def operator_symbol
      :'!='
    end

    def evaluate(tuple)
      left.evaluate(tuple) != right.evaluate(tuple)
    end

  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
predicate-2.7.1 lib/predicate/nodes/neq.rb
predicate-2.7.0 lib/predicate/nodes/neq.rb
predicate-2.6.0 lib/predicate/nodes/neq.rb
predicate-2.5.0 lib/predicate/nodes/neq.rb
predicate-2.4.0 lib/predicate/nodes/neq.rb
predicate-2.3.3 lib/predicate/nodes/neq.rb
predicate-2.3.2 lib/predicate/nodes/neq.rb
predicate-2.3.1 lib/predicate/nodes/neq.rb
predicate-2.3.0 lib/predicate/nodes/neq.rb
predicate-2.2.1 lib/predicate/nodes/neq.rb
predicate-2.2.0 lib/predicate/nodes/neq.rb
predicate-2.1.0 lib/predicate/nodes/neq.rb
predicate-2.0.1 lib/predicate/nodes/neq.rb
predicate-2.0.0 lib/predicate/nodes/neq.rb
predicate-1.3.4 lib/predicate/nodes/neq.rb
predicate-1.3.3 lib/predicate/nodes/neq.rb
predicate-1.3.2 lib/predicate/nodes/neq.rb
predicate-1.3.1 lib/predicate/nodes/neq.rb
predicate-1.3.0 lib/predicate/nodes/neq.rb