# File lib/dm-core/resource.rb, line 160 def eql?(other) return true if object_id == other.object_id return false unless other.kind_of?(model) return true if repository == other.repository && key == other.key properties.each do |property| return false if property.get!(self) != property.get!(other) end true end