lib/dry/system/config/component_dirs.rb in dry-system-0.22.0 vs lib/dry/system/config/component_dirs.rb in dry-system-0.23.0

- old
+ new

@@ -15,37 +15,37 @@ # @!method auto_register=(value) # # Sets a default `auto_register` for all added component dirs # - # @see ComponentDir.auto_register + # @see ComponentDir.auto_register= # @see auto_register # # @!method auto_register # # Returns the configured default `auto_register` # # @see auto_register= - # @!method add_to_load_path=(value) + # @!method instance=(value) # - # Sets a default `add_to_load_path` value for all added component dirs + # Sets a default `instance` for all added component dirs # - # @see ComponentDir.add_to_load_path - # @see add_to_load_path + # @see ComponentDir.instance= + # @see auto_register # - # @!method add_to_load_path + # @!method auto_register # - # Returns the configured default `add_to_load_path` + # Returns the configured default `instance` # - # @see add_to_load_path= + # @see instance= # @!method loader=(value) # # Sets a default `loader` value for all added component dirs # - # @see ComponentDir.loader + # @see ComponentDir.loader= # @see loader # # @!method loader # # Returns the configured default `loader` @@ -54,11 +54,11 @@ # @!method memoize=(value) # # Sets a default `memoize` value for all added component dirs # - # @see ComponentDir.memoize + # @see ComponentDir.memoize= # @see memoize # # @!method memoize # # Returns the configured default `memoize` @@ -74,9 +74,22 @@ # Allows namespaces to added on the returned object via {Dry::System::Config::Namespaces#add}. # # @see Dry::System::Config::Namespaces#add # # @return [Namespaces] the namespaces + + # @!method add_to_load_path=(value) + # + # Sets a default `add_to_load_path` value for all added component dirs + # + # @see ComponentDir.add_to_load_path= + # @see add_to_load_path + # + # @!method add_to_load_path + # + # Returns the configured default `add_to_load_path` + # + # @see add_to_load_path= # rubocop:enable Layout/LineLength # @!endgroup