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, *traits, **options) ⇒ 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.
7 8 9 |
# File 'lib/rom/factory/attributes/association.rb', line 7 def self.new(assoc, builder, *traits, **) const_get(assoc.definition.type).new(assoc, builder, *traits, **) end |