lib/economic/entity/handle.rb in rconomic-0.3 vs lib/economic/entity/handle.rb in rconomic-0.4
- old
+ new
@@ -26,10 +26,10 @@
end
def ==(other)
return false if other.nil?
return false unless other.respond_to?(:id) && other.respond_to?(:number)
- self.id == other.id && self.number == other.number
+ self.id == other.id && self.number == other.number && self.id1 == other.id1 && self.id2 == other.id2
end
private
# Raises exceptions if hash doesn't contain values we can use to construct a new handle