Method: Dry::System::Provider#prepare

Defined in:
lib/dry/system/provider.rb

#prepareself

Runs the prepare lifecycle step.

Also runs any callbacks for the step, and then merges any registered components from the provider container into the target container.

Returns:

API:

  • public



157
158
159
# File 'lib/dry/system/provider.rb', line 157

def prepare
  run_step(:prepare)
end