Class | Mongoid::Matchers::Lte |
In: |
lib/mongoid/matchers/lte.rb
|
Parent: | Default |
Performs less than or equal to matching.
Return true if the attribute is less 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.