lib/httpx/timers.rb in httpx-0.18.7 vs lib/httpx/timers.rb in httpx-0.19.0
- old
+ new
@@ -62,10 +62,10 @@
@interval == other.to_f # rubocop:disable Lint/FloatComparison
end
def to_f
- @interval
+ Float(@interval)
end
def <<(callback)
@callbacks << callback
end