Module: Mongoid::Matcher::EqImpl Private
- Defined in:
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
This module is used by $eq and other operators that need to perform the matching that $eq performs (for example, $ne which negates the result of $eq). Unlike $eq this module takes an original operator as an additional argument to
matches? to provide the correct exception messages reflecting the operator that was first invoked.