Module: MongoMapper::Plugins::EmbeddedDocument::ClassMethods
- Defined in:
- lib/mongo_mapper/plugins/embedded_document.rb
Instance Method Summary collapse
Instance Method Details
#embeddable? ⇒ Boolean
12 13 14 |
# File 'lib/mongo_mapper/plugins/embedded_document.rb', line 12 def true end |
#embedded_in(owner_name) ⇒ Object
16 17 18 |
# File 'lib/mongo_mapper/plugins/embedded_document.rb', line 16 def (owner_name) alias_method owner_name, :_parent_document end |