Sha256: 8a8bf5ec3292ff6a97440c3a6b0360265685e6ebd1db678eefdfafdefaae1c26
Contents?: true
Size: 182 Bytes
Versions: 1
Compression:
Stored size: 182 Bytes
Contents
class Class # @api public def self.to_mongo(value) value.name end # @api public def self.from_mongo(value) DataMapper::Inflector.classify(value) end end # Class
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dm-mongo-adapter-0.6.0 | lib/mongo_adapter/support/class.rb |