Class Mongoid::Matchers::Nin
In: lib/mongoid/matchers/nin.rb
Parent: Default

Performs not in checking.

Methods

matches?  

Public Instance methods

Return true if the attribute is not in the value list.

@example Do the values match?

  matcher.matches?({ :key => 10 })

@param [ Hash ] value The values to check.

@return [ true, false ] If a value exists.

[Validate]