Module: MongoMapper::Plugins::EmbeddedDocument

Defined in:
lib/mongo_mapper/plugins/embedded_document.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.configure(model) ⇒ Object



5
6
7
8
9
# File 'lib/mongo_mapper/plugins/embedded_document.rb', line 5

def self.configure(model)
  model.class_eval do
    attr_reader :_root_document, :_parent_document
  end
end