Method: Mongoid::Criteria#-
- Defined in:
- lib/mongoid/criteria.rb
#-(other) ⇒ Object
Returns the difference between the criteria and another enumerable. If the other is a Criteria then it needs to get the collection from it.
56 57 58 |
# File 'lib/mongoid/criteria.rb', line 56 def -(other) entries - comparable(other) end |