# File lib/dm-core/associations/relationship.rb, line 368 def ==(other) return true if equal?(other) other.respond_to?(:cmp_repository?, true) && other.respond_to?(:cmp_model?, true) && other.respond_to?(:cmp_key?, true) && other.respond_to?(:min) && other.respond_to?(:max) && other.respond_to?(:query) && cmp?(other, :==) end