9c415e1015
This saves the work of attempting to finalize every nested config if `finalize!` is called a second time. This make `finalize!` a one-shot operation, i.e. you can't call `finalize!` first, followed by `finalize!(freeze_values: true)`, but doing this would not be expected usage. Also: rename error classes: - `Dry::Configurable::AlreadyIncluded` -> `AlreadyIncludedError` - `Dry::Configurable::FrozenConfig` -> `FrozenConfigError` |
||
---|---|---|
.. | ||
config_spec.rb | ||
configure_spec.rb | ||
defaults_spec.rb | ||
included_spec.rb | ||
setting_spec.rb |