From 0ae12415111f1951b4c294b15190ab9f42e94584 Mon Sep 17 00:00:00 2001 From: Nikita Shilnikov Date: Wed, 31 Jul 2024 14:55:16 +0200 Subject: [PATCH] Update external-provider-sources.html.md --- docsite/source/external-provider-sources.html.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docsite/source/external-provider-sources.html.md b/docsite/source/external-provider-sources.html.md index 249eeb72..bc312ad4 100644 --- a/docsite/source/external-provider-sources.html.md +++ b/docsite/source/external-provider-sources.html.md @@ -24,7 +24,7 @@ Then, define your provider source: # |- lib/my_gem/provider_sources/exception_notifier.rb Dry::System.register_provider_source(:exception_notifier, group: :my_gem) do - init do + prepare do require "some_exception_notifier" end @@ -90,7 +90,7 @@ Dry::System.register_component(:exception_notifier, provider: :common) do setting :environments, default: :production, constructor: Types::Strict::Array.of(Types::Strict::Symbol) setting :logger - init do + prepare do require "some_exception_notifier" end