Class: Nonnative::CloseAllSocketPair

Inherits:
SocketPair show all
Defined in:
lib/nonnative/close_all_socket_pair.rb

Instance Method Summary collapse

Methods inherited from SocketPair

#initialize

Constructor Details

This class inherits a constructor from Nonnative::SocketPair

Instance Method Details

#connect(local_socket) ⇒ Object



5
6
7
# File 'lib/nonnative/close_all_socket_pair.rb', line 5

def connect(local_socket)
  local_socket.close
end