Method: TCPSocket#closed?
- Defined in:
- lib/polyphony/extensions/socket.rb
#closed? ⇒ bool
Returns true if the socket is closed.
282 283 284 |
# File 'lib/polyphony/extensions/socket.rb', line 282 def closed? @io ? @io.closed? : orig_closed? end |