Module: ROM::Factory::Attributes::Association Private
- Defined in:
- lib/rom/factory/attributes/association.rb
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Defined Under Namespace
Classes: Core, ManyToOne, OneToMany, OneToOne
Class Method Summary collapse
Class Method Details
.new(assoc, builder, *args) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
8 9 10 |
# File 'lib/rom/factory/attributes/association.rb', line 8 def new(assoc, builder, *args) const_get(assoc.definition.type).new(assoc, builder, *args) end |