Class: Nonnative::CloseAllSocketPair
- Inherits:
-
SocketPair
- Object
- SocketPair
- Nonnative::CloseAllSocketPair
- Defined in:
- lib/nonnative/close_all_socket_pair.rb
Instance Method Summary collapse
Methods inherited from SocketPair
Constructor Details
This class inherits a constructor from Nonnative::SocketPair
Instance Method Details
#connect(local_socket) ⇒ Object
5 6 7 8 9 |
# File 'lib/nonnative/close_all_socket_pair.rb', line 5 def connect(local_socket) Nonnative.logger.info "closing socket '#{local_socket.inspect}' for 'close_all' pair" local_socket.close end |