Module: Recollect::Array::GreaterThanEqual

Defined in:
lib/recollect/array/predicate/greater_than.rb

Class Method Summary collapse

Class Method Details

.check!(item, iteratee, value) ⇒ Object



14
15
16
17
18
19
# File 'lib/recollect/array/predicate/greater_than.rb', line 14

def self.check!(item, iteratee, value)
  fetched_value = Utility::TryFetchOrBlank[item, iteratee]
  return false unless fetched_value

  fetched_value >= value
end