class Mongoid::Matchable::Gt
Performs Greater Than matching.
Public Instance Methods
_matches?(value)
click to toggle source
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.
# File lib/mongoid/matchable/gt.rb, line 18 def _matches?(value) determine(value, :>) rescue ArgumentError false end