Parent

Methods

Class/Module Index [+]

Quicksearch

Mongoid::Matchers::Gte

Performs Greater than or equal to matching.

Public Instance Methods

matches?(value) click to toggle source

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.

# File lib/mongoid/matchers/gte.rb, line 15
def matches?(value)
  determine(value, :>=)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.