Module: Evilution::Config::Sources Private
- Defined in:
- lib/evilution/config/sources.rb
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Class Method Summary collapse
Class Method Details
.merge(explicit:, skip_file:) ⇒ Object
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.
9 10 11 12 13 |
# File 'lib/evilution/config/sources.rb', line 9 def merge(explicit:, skip_file:) file = skip_file ? {} : Evilution::Config::FileLoader.load env = Evilution::Config::EnvLoader.load Evilution::Config::DEFAULTS.merge(file).merge(env).merge(explicit) end |