Class Mongoid::Matchers::Gt
In: lib/mongoid/matchers/gt.rb
Parent: Default

Performs Greater Than matching.

Methods

matches?  

Public Instance methods

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.

[Validate]