Class Mongoid::Matchers::Ne
In: lib/mongoid/matchers/ne.rb
Parent: Default

Performs non-equivalency checks.

Methods

matches?  

Public Instance methods

Return true if the attribute and first value are not equal.

@example Do the values match?

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

@param [ Hash ] value The values to check.

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

[Validate]