Sha256: df50102d92aec8bc30fae2324ff9e0bc453ba2ace548f93cdc7a3b0df511db4b
Contents?: true
Size: 538 Bytes
Versions: 27
Compression:
Stored size: 538 Bytes
Contents
# encoding: utf-8 module Mongoid module Matchable # 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, :>=) rescue ArgumentError false end end end end
Version data entries
27 entries across 27 versions & 2 rubygems