Sha256: f37ee8e8e326e39892a866de2071d8ca61e2a30f96713f82cb0e08cd177d84c6
Contents?: true
Size: 462 Bytes
Versions: 32
Compression:
Stored size: 462 Bytes
Contents
# encoding: utf-8 module Mongoid module Matchers # Performs less than matching. class Lt < Default # Return true if the attribute is less than 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