Module: Mongoid::Extensions::Set
- Defined in:
- lib/mongoid/extensions/set.rb
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
-
#mongoize ⇒ Hash
Turn the object from the ruby type we deal with to a Mongo friendly type.
Instance Method Details
#mongoize ⇒ Hash
Turn the object from the ruby type we deal with to a Mongo friendly type.
15 16 17 |
# File 'lib/mongoid/extensions/set.rb', line 15 def mongoize ::Set.mongoize(self) end |