Method: Mongo::Socket::Unix#path

Defined in:
lib/mongo/socket/unix.rb

#pathString (readonly)

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.

Returns path The path to connect to.

Returns:

  • (String)

    path The path to connect to.

Since:

  • 2.0.0



53
54
55
# File 'lib/mongo/socket/unix.rb', line 53

def path
  @path
end