Sha256: 63537a27790868209e7f04df9f8468119be140df649fb4850581e85d5db353fc
Contents?: true
Size: 404 Bytes
Versions: 10
Compression:
Stored size: 404 Bytes
Contents
# encoding: UTF-8 module MongoMapper module Extensions module Object extend ActiveSupport::Concern module ClassMethods def to_mongo(value) value end def from_mongo(value) value end end def to_mongo self.class.to_mongo(self) end end end end class Object include MongoMapper::Extensions::Object end
Version data entries
10 entries across 10 versions & 3 rubygems