Method: HTTPX::Response::Body#initialize_dup

Defined in:
lib/httpx/response/body.rb

#initialize_dup(other) ⇒ Object


40
41
42
43
44
# File 'lib/httpx/response/body.rb', line 40

def initialize_dup(other)
  super

  @buffer = other.instance_variable_get(:@buffer).dup
end