lib/arstotzka/options.rb in arstotzka-1.4.2 vs lib/arstotzka/options.rb in arstotzka-1.4.3
- old
+ new
@@ -292,9 +292,10 @@
# @param other [Object]
#
# @return [TrueClass,FalseClass]
def ==(other)
return false unless other.class == self.class
+
to_h == other.to_h
end
end
end