Sha256: 3830736f199ca5f658085cb20bb9baa8e9f412a3ea4f583c5c29e1eaaf96eab0

Contents?: true

Size: 191 Bytes

Versions: 20

Compression:

Stored size: 191 Bytes

Contents

class Predicate
  module Lte
    include DyadicComp

    def operator_symbol
      :<=
    end

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

  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

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