Sha256: 2e074589f69560e4edac1a3122b33bd4b1b8994aa5aff1534582a8910fc2198b
Contents?: true
Size: 510 Bytes
Versions: 11
Compression:
Stored size: 510 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
11 entries across 10 versions & 2 rubygems