module MarkMapper::Plugins::EmbeddedDocument::ClassMethods

Public Instance Methods

embeddable?() click to toggle source
# File lib/mark_mapper/plugins/embedded_document.rb, line 12
def embeddable?
  true
end
embedded_in(owner_name) click to toggle source
# File lib/mark_mapper/plugins/embedded_document.rb, line 16
def embedded_in(owner_name)
  alias_method owner_name, :_parent_document
end