Module: ComplexConfig
- Defined in:
- lib/complex_config.rb,
lib/complex_config/tree.rb,
lib/complex_config/proxy.rb,
lib/complex_config/config.rb,
lib/complex_config/errors.rb,
lib/complex_config/railtie.rb,
lib/complex_config/version.rb
Defined Under Namespace
Modules: Plugins Classes: AttributeMissing, ComplexConfigError, Config, ConfigurationFileMissing, ConfigurationSyntaxError, DecryptionFailed, Encryption, EncryptionError, EncryptionKeyInvalid, EncryptionKeyMissing, KeySource, Provider, Proxy, Railtie, Settings, Tree
Constant Summary collapse
- VERSION =
ComplexConfig version
'0.22.2'
- VERSION_ARRAY =
:nodoc:
VERSION.split('.').map(&:to_i)
- VERSION_MAJOR =
:nodoc:
VERSION_ARRAY[0]
- VERSION_MINOR =
:nodoc:
VERSION_ARRAY[1]
- VERSION_BUILD =
:nodoc:
VERSION_ARRAY[2]
Class Method Summary collapse
Class Method Details
.configure {|config| ... } ⇒ Object
26 27 28 29 30 31 |
# File 'lib/complex_config/config.rb', line 26 def self.configure config = Config.new yield config ComplexConfig::Provider.configure_with config config end |