Sha256: e941bde7c1c7b964b56678b8cc6796db971e98c87d1476f153ac2262fe8dc955
Contents?: true
Size: 486 Bytes
Versions: 188
Compression:
Stored size: 486 Bytes
Contents
# encoding: utf-8 module Mongoid #:nodoc: module Matchers #:nodoc: # Performs Greater Than matching. class Gt < Default # Return true if the attribute is greater 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
188 entries across 96 versions & 4 rubygems