Class: ROM::Associations::Definitions::ManyToMany Private
- Defined in:
- core/lib/rom/associations/definitions/many_to_many.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#through ⇒ ThroughIdentifier
readonly
The name of the "through" relation.
Instance Method Summary collapse
- #through_assoc_name ⇒ Object private
- #through_relation ⇒ Object private
Instance Attribute Details
#through ⇒ ThroughIdentifier (readonly)
Returns The name of the "through" relation.
15 |
# File 'core/lib/rom/associations/definitions/many_to_many.rb', line 15 option :through, reader: true |
Instance Method Details
#through_assoc_name ⇒ 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.
23 24 25 |
# File 'core/lib/rom/associations/definitions/many_to_many.rb', line 23 def through_assoc_name through.assoc_name end |
#through_relation ⇒ 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.
18 19 20 |
# File 'core/lib/rom/associations/definitions/many_to_many.rb', line 18 def through_relation through.relation end |