Module: Mongo::Config Private
Do not use. This module is for internal use only.
Relationships & Source Files | |
Namespace Children | |
Modules:
| |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
Options ,
Forwardable,
self
|
|
Defined in: | lib/mongo/config.rb, lib/mongo/config/options.rb, lib/mongo/config/validators/option.rb |
Overview
This module defines configuration options for ::Mongo
.
Class Method Summary
Options
- Extended
Instance Attribute Summary
-
#options=(options)
writeonly
Internal use only
Set the configuration options.
Instance Attribute Details
#options=(options) (writeonly)
Set the configuration options.
# File 'lib/mongo/config.rb', line 36
def ( ) .each_pair do |option, value| Validators::Option.validate(option) send("#{option}=", value) end end