Sha256: 4390022cefb7808a7534b0512b72dcdaa082e57ba6b30deb028f16812b399a0e

Contents?: true

Size: 333 Bytes

Versions: 1

Compression:

Stored size: 333 Bytes

Contents

require 'pathname'
__DIR__ = Pathname.new(__FILE__).dirname.expand_path
__LIB__ = __DIR__.join('..', 'lib').expand_path
$:.unshift(__LIB__) unless $:.include?(__LIB__)

require 'mm_to_view_model'

MongoMapper::Document.plugin(MongoMapper::Plugins::ToViewModel)
MongoMapper::EmbeddedDocument.plugin(MongoMapper::Plugins::ToViewModel)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mm_to_view_model-0.1.0 lib/mm_to_view_model/import.rb