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

[#configure do/.configure do] support for load_from_file-methods inside the `configure` block on `settings` instance #128

Open 0exp opened 3 years ago

0exp commented 3 years ago

For example:

config.configure do |conf|
  conf.__load_from_yaml__(yaml_path)
end

Or:

disabling of an ability of defenitioning internal setting keys as methods like load_from_file