Method: ROM::Associations::ThroughIdentifier#initialize
- Defined in:
- lib/rom/associations/through_identifier.rb
#initialize(source, target, assoc_name) ⇒ ThroughIdentifier
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.
Returns a new instance of ThroughIdentifier.
27 28 29 30 31 |
# File 'lib/rom/associations/through_identifier.rb', line 27 def initialize(source, target, assoc_name) @source = source @target = target @assoc_name = assoc_name end |