Sha256: 1998e63762946297f23dc6e77f7fb2c86f5c32e3bc2d40f2dd0ced31d8b6bec5

Contents?: true

Size: 324 Bytes

Versions: 5

Compression:

Stored size: 324 Bytes

Contents

# frozen_string_literal: true

module Recollect::Array
  module Equal
    def self.check!(item, iteratee, expected_value)
      expected_value == Utility::TryFetchOrBlank[item, iteratee]
    end
  end

  module NotEqual
    def self.check!(item, iteratee, value)
      !Equal.check!(item, iteratee, value)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
recollect-array-0.1.4 lib/recollect/array/predicate/equal.rb
recollect-array-0.1.3 lib/recollect/array/predicate/equal.rb
recollect-array-0.1.2 lib/recollect/array/predicate/equal.rb
recollect-array-0.1.1 lib/recollect/array/predicate/equal.rb
recollect-array-0.1.0 lib/recollect/array/predicate/equal.rb