lib/timespan/compare.rb in timespan-0.5.7 vs lib/timespan/compare.rb in timespan-0.5.9
- old
+ new
@@ -54,11 +54,9 @@
seconds <=> time.to_i
when Date, DateTime
time.to_time.to_i
when Integer
seconds <=> time
- when Timelord::Time
- seconds <=> time.moment
when ActiveSupport::Duration
seconds <=> time.to_i
end
end
\ No newline at end of file