0exp / qonfig

Powerful configuration Ruby-framework with a support for many commonly used config formats with a multi-functional API, developer-friendly DSL and object-oriented behavior.
MIT License
23 stars 8 forks source link

[freature] sequentional settings file merge #136

Open 0exp opened 2 years ago

0exp commented 2 years ago

Imagine we have the following code:

    load_from_yaml root.join("config/redis/default.yml")
    load_from_yaml root.join("config/redis/#{env}.yml"), strict: false

may bee it would be nice to have this for file with the same nature/type/domain:

load_from_yaml "file1", "file2", "file3", "file4"