Method: Mongo::Socket#pipe

Defined in:
lib/mongo/socket.rb

#pipeIO

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

listen on during the select system call when reading from the socket.

Returns:

  • (IO)

    The file descriptor for the read end of the pipe to

Since:

  • 2.0.0



115
116
117
# File 'lib/mongo/socket.rb', line 115

def pipe
  options[:pipe]
end