Sha256: a376e4636a5d8273b97120ea4e78bc9e0d40f06e59eb071eb7e977c6c5ad35db

Contents?: true

Size: 338 Bytes

Versions: 2

Compression:

Stored size: 338 Bytes

Contents

require 'pathname'
__DIR__ = Pathname.new(__FILE__).dirname.expand_path
__LIB__ = __DIR__.join('..', 'lib').expand_path.to_s
$:.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

2 entries across 2 versions & 1 rubygems

Version Path
mm_to_view_model-0.1.2 lib/mm_to_view_model/import.rb
mm_to_view_model-0.1.1 lib/mm_to_view_model/import.rb