Method: Mongo::Config::Options#settings

Defined in:
lib/mongo/config/options.rb

#settingsHash

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.

Get the settings or initialize a new empty hash.

Examples:

Get the settings.

options.settings

Returns:

  • (Hash)

    The setting options.



58
59
60
# File 'lib/mongo/config/options.rb', line 58

def settings
  @settings ||= {}
end