From: leon breedt Date: 2004-10-10T21:13:39+09:00 Subject: Re: DI service change notifications (Syringe) On Sun, 10 Oct 2004 22:34:59 +1300, leon breedt wrote: > contrived pseudocode example: > > env = { :log_filename => 'test.log' } > container.register(:log_filename) { env[:log_filename] } > container.register(:logger) { |c| Logger.new(c.log_filename) } i am aware that there will have to be a link between env and container to ensure that the dirty flag will be set, first of all, and set on the correct service, secondly :) possibly env would be a special service instead of floating Hash, and access to env would happen through an interceptor gatekeeper... leon