links (DataMapper::Associations::ManyToMany::Relationship)

    # File lib/dm-core/associations/many_to_many.rb, line 106
            def links
              return @links if defined?(@links)

              @links = []
              links  = [ through, via ]

              while relationship = links.shift
                if relationship.respond_to?(:links)
                  links.unshift(*relationship.links)
                else
                  @links << relationship
                end
              end

              @links.freeze
            end