Module: Mongoid::Matcher::Eq Private
- Defined in:
- lib/mongoid/matcher/eq.rb
Overview
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.
In-memory matcher for $eq expression.
Class Method Summary collapse
-
.matches?(exists, value, condition) ⇒ true | false, Boolean
private
Returns whether a value satisfies an $eq expression.
Class Method Details
.matches?(exists, value, condition) ⇒ true | false, Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns whether a value satisfies an $eq expression.
21 22 23 |
# File 'lib/mongoid/matcher/eq.rb', line 21 module_function def matches?(exists, value, condition) EqImpl.matches?(exists, value, condition, '$eq') end |