lib/cistern/timeout.rb in cistern-2.8.0 vs lib/cistern/timeout.rb in cistern-2.8.1

- old
+ new

@@ -1,4 +1,6 @@ +# frozen_string_literal: true + module Cistern module WaitFor def self.wait_for(timeout = Cistern.timeout, interval = Cistern.poll_interval, &_block) duration = 0 start = Time.now