Sha256: 3b355eb2d2025868763a256fd1b529609f67ef6fbdbcdd916394f193d3e0ceaf
Contents?: true
Size: 488 Bytes
Versions: 32
Compression:
Stored size: 488 Bytes
Contents
# encoding: utf-8 module Mongoid module Matchers # Performs less than or equal to matching. class Lte < Default # Return true if the attribute is less 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
32 entries across 32 versions & 2 rubygems