lib/dependor/auto_injector.rb in dependor-1.0.0 vs lib/dependor/auto_injector.rb in dependor-1.0.1

- old
+ new

@@ -1,10 +1,10 @@ module Dependor class AutoInjector - def initialize(injector, search_modules) + def initialize(injector, dependency_names, search_modules) @injector = injector - @instantiator = Instantiator.new(self) + @instantiator = Instantiator.new(self, dependency_names) @class_name_resolver = ClassNameResolver.new(search_modules) end def get(name) return @injector.send(name)