Sha256: 5f23de9fc444db7bae9623cc18382f8a289b68d65d107c070e8b5c7a9e9f551d
Contents?: true
Size: 703 Bytes
Versions: 9
Compression:
Stored size: 703 Bytes
Contents
# frozen_string_literal: true module Dry module System module Plugins module DependencyGraph # @api private class Strategies extend Dry::Container::Mixin # @api private class Kwargs < Dry::AutoInject::Strategies::Kwargs private # @api private def define_initialize(klass) @container["notifications"].instrument( :resolved_dependency, dependency_map: dependency_map.to_h, target_class: klass ) super(klass) end end register :kwargs, Kwargs register :default, Kwargs end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems