Module: Mongoid::Criteria::Queryable::Extensions::Symbol
- Defined in:
- lib/mongoid/criteria/queryable/extensions/symbol.rb
Overview
Adds query type-casting behavior to Symbol class.
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
-
#__expr_part__(value, negating = false) ⇒ Hash
Get the symbol as a specification.
Instance Method Details
#__expr_part__(value, negating = false) ⇒ Hash
Get the symbol as a specification.
21 22 23 |
# File 'lib/mongoid/criteria/queryable/extensions/symbol.rb', line 21 def __expr_part__(value, negating = false) ::String.__expr_part__(self, value, negating) end |