Class: OpenSSL::SSL::SSLSocket
- Inherits:
-
Object
- Object
- OpenSSL::SSL::SSLSocket
- Defined in:
- lib/tcr.rb
Overview
rubocop:disable Style/StaticClass
Class Method Summary collapse
Class Method Details
.new(io, *args) ⇒ Object
79 80 81 82 83 84 85 |
# File 'lib/tcr.rb', line 79 def new(io, *args) if io.is_a?(TCR::RecordableTCPSocket) TCR::RecordableSSLSocket.new(io) else super end end |