Sha256: e1a25c16a7d5af9c23ab1f5d7212a09120cedf84470d53e2356acc0df27acefd
Contents?: true
Size: 306 Bytes
Versions: 1
Compression:
Stored size: 306 Bytes
Contents
module Dependor::Isolate def isolate(klass, overrides = {}) injector = Dependor::SendingInjector.new(self) customized_injector = Dependor::CustomizedInjector.new(injector, overrides) instantiator = Dependor::Instantiator.new(customized_injector) instantiator.instantiate(klass) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dependor-0.0.5 | lib/dependor/isolate.rb |