Method: Mongo::Socket#options

Defined in:
lib/mongo/socket.rb

#optionsHash (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 The options.

Returns:

  • (Hash)

    The options.

Since:

  • 2.0.0



84
85
86
# File 'lib/mongo/socket.rb', line 84

def options
  @options
end