lib/httpx/io/tls.rb in httpx-0.15.4 vs lib/httpx/io/tls.rb in httpx-0.16.0
- old
+ new
@@ -2,10 +2,10 @@
require "openssl"
module HTTPX
class TLS < TCP
- Error = Class.new(StandardError)
+ class Error < StandardError; end
def initialize(_, _, options)
super
@encrypted = Buffer.new(Connection::BUFFER_SIZE)
@decrypted = "".b