lib/mongo/socket.rb
def eof?
      @socket.eof?
    rescue IOError, SystemCallError
      true
    end
# Tests if this socket has reached EOF. Primarily used for liveness checks.
#
# @since 2.0.5
Tests if this socket has reached EOF. Primarily used for liveness checks.
Tests if this socket has reached EOF . Primarily used for liveness checks .
def eof?
      @socket.eof?
    rescue IOError, SystemCallError
      true
    end
def eof? @socket . eof? rescue IOError , SystemCallError true end
Tests if this socket has reached EOF.
Tests if this socket has reached EOF .
since
None