Method: Dry::System::Provider#stop

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

#stopself

Runs the stop lifecycle step.

Also runs any callbacks for the step.

Returns:

API:

  • public



181
182
183
184
185
# File 'lib/dry/system/provider.rb', line 181

def stop
  return self unless started?

  run_step(:stop)
end