Method: HTTPX::Response::Body#==

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

#==(other) ⇒ Object



153
154
155
156
157
158
159
160
# File 'lib/httpx/response/body.rb', line 153

def ==(other)
  super || case other
           when Response::Body
             @buffer == other.buffer
           else
             @buffer = other
           end
end