Skip to content

Commit

Permalink
Mark ProviderRegistrar, target_container as public
Browse files Browse the repository at this point in the history
  • Loading branch information
timriley committed May 12, 2024
1 parent a1b8a8f commit 5cfe661
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion lib/dry/system/provider_registrar.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,21 @@ module System
# provider registrar is responsible for loading provider files and exposing an API for
# running the provider lifecycle steps.
#
# @api private
# @api public
# @since 1.1.0
class ProviderRegistrar
# @api private
attr_reader :providers

# @api private
attr_reader :container

# Returns the container exposed to providers as `target_container`.
#
# @return [Dry::System::Container]
#
# @api public
# @since 1.1.0
alias_method :target_container, :container

# @api private
Expand Down

0 comments on commit 5cfe661

Please sign in to comment.