Module: Mongoid::Matcher::EqImpl Private
Do not use. This module is for internal use only.
Relationships & Source Files | |
Defined in: | lib/mongoid/matcher/eq_impl.rb |
Overview
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.