lib/rainbows/http_response.rb in rainbows-0.5.0 vs lib/rainbows/http_response.rb in rainbows-0.6.0

- old
+ new

@@ -28,9 +28,9 @@ "#{out.join('')}\r\n") end body.each { |chunk| socket.write(chunk) } ensure - body.respond_to?(:close) and body.close rescue nil + body.respond_to?(:close) and body.close end end end