lib/async/http/body/delayed.rb in async-http-0.60.2 vs lib/async/http/body/delayed.rb in async-http-0.61.0

- old
+ new

@@ -1,16 +1,17 @@ # frozen_string_literal: true # Released under the MIT License. # Copyright, 2018-2023, by Samuel Williams. # Copyright, 2020, by Bruno Sutic. +# Copyright, 2023, by Thomas Morgan. require 'protocol/http/body/wrapper' module Async module HTTP module Body - class Delayed < Protocol::HTTP::Body::Wrapper + class Delayed < ::Protocol::HTTP::Body::Wrapper def initialize(body, delay = 0.01) super(body) @delay = delay end