blob: 2d206e6c120ad9a2caec7d34914d769bca176a7a (
plain) (
tree)
|
|
class EqualityPredicate < BinaryPredicate
def ==(other)
self.class == other.class and
((attribute1.eql?(other.attribute1) and attribute2.eql?(other.attribute2)) or
(attribute1.eql?(other.attribute2) and attribute2.eql?(other.attribute1)))
end
end
|