Module: MarkMapper::Plugins::EmbeddedDocument::ClassMethods

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

Instance Method Summary collapse

Instance Method Details

#embeddable?Boolean

Returns:


12
13
14
# File 'lib/mark_mapper/plugins/embedded_document.rb', line 12

def embeddable?
  true
end

#embedded_in(owner_name) ⇒ Object


16
17
18
# File 'lib/mark_mapper/plugins/embedded_document.rb', line 16

def embedded_in(owner_name)
  alias_method owner_name, :_parent_document
end