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