Module: MongoMapper::Extensions::Hash

Extended by:
ActiveSupport::Concern
Included in:
Hash
Defined in:
lib/mongo_mapper/extensions/hash.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#to_mongo(options = {}) ⇒ Object



37
38
39
# File 'lib/mongo_mapper/extensions/hash.rb', line 37

def to_mongo(options = {})
  self.class.to_mongo(self, options)
end