lib/duckdb/interval.rb in duckdb-0.9.2 vs lib/duckdb/interval.rb in duckdb-0.9.2.1
- old
+ new
@@ -155,7 +155,11 @@
other.is_a?(Interval) &&
@interval_months == other.interval_months &&
@interval_days == other.interval_days &&
@interval_micros == other.interval_micros
end
+
+ def eql?(other)
+ self == other
+ end
end
end