class HTTP::Timeout::Global
def log_time
def log_time @time_left -= (Time.now - @started) if time_left <= 0 raise TimeoutError, "Timed out after using the allocated #{total_timeout} seconds" end reset_timer end
def log_time @time_left -= (Time.now - @started) if time_left <= 0 raise TimeoutError, "Timed out after using the allocated #{total_timeout} seconds" end reset_timer end