Module: Dry::System::Container::Stubs Private
- Defined in:
- lib/dry/system/stubs.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.
Incuded only in the Test environment Sending the message enable_stubs! allow you to stub components after finalize your container in your tests.
Instance Method Summary collapse
- #finalize!(&block) ⇒ Object private
Instance Method Details
#finalize!(&block) ⇒ 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.
10 11 12 |
# File 'lib/dry/system/stubs.rb', line 10 def finalize!(&block) super(freeze: false, &block) end |