Module: Dry::Configurable::TestInterface Private
- Defined in:
- lib/dry/configurable/test_interface.rb
Overview
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.
Methods meant to be used in a testing scenario
Instance Method Summary collapse
-
#reset_config ⇒ Dry::Configurable::Config
Resets configuration to default values.
Instance Method Details
#reset_config ⇒ Dry::Configurable::Config
Resets configuration to default values
12 13 14 |
# File 'lib/dry/configurable/test_interface.rb', line 12 def reset_config @__config__ = config.pristine end |