Method: TCPSocket#close
- Defined in:
- lib/polyphony/extensions/socket.rb
#close ⇒ TCPSocket
Closes the socket.
260 261 262 263 |
# File 'lib/polyphony/extensions/socket.rb', line 260 def close @io ? @io.close : orig_close self end |
Closes the socket.
260 261 262 263 |
# File 'lib/polyphony/extensions/socket.rb', line 260 def close @io ? @io.close : orig_close self end |