Class: ROM::Associations::Definitions::ManyToMany Private

Inherits:
Abstract
  • Object
show all
Defined in:
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

OneToOneThrough

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#throughThroughIdentifier (readonly)

Returns The name of the "through" relation.

Returns:


15
# File 'lib/rom/associations/definitions/many_to_many.rb', line 15

option :through, reader: true

Instance Method Details

#through_assoc_nameObject

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 'lib/rom/associations/definitions/many_to_many.rb', line 23

def through_assoc_name
  through.assoc_name
end

#through_relationObject

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 'lib/rom/associations/definitions/many_to_many.rb', line 18

def through_relation
  through.relation
end