Class Mongoid::Matchers::Gte
In: lib/mongoid/matchers/gte.rb
Parent: Default

Performs Greater than or equal to matching.

Methods

matches?  

Public Instance methods

Return true if the attribute is greater than or equal to 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.

[Validate]