Sha256: 46016c632c73a78124aa6d94bed1963b3702da66d82e9661f02762dea73ae036
Contents?: true
Size: 512 Bytes
Versions: 188
Compression:
Stored size: 512 Bytes
Contents
# encoding: utf-8 module Mongoid #:nodoc: module Matchers #:nodoc: # Performs Greater than or equal to matching. class Gte < Default # Return true if the attribute is greater than or equal to the value. # # @example Do the values match? # matcher.matches?({ :key => 10 }) # # @param [ Hash ] value The values to check. # # @return [ true, false ] If a value exists. def matches?(value) determine(value, :>=) end end end end
Version data entries
188 entries across 96 versions & 4 rubygems