From: Florian Gross Date: 2004-11-15T06:08:21+09:00 Subject: Re: [ANN] MinDI: Minimalist Dependency Injection Joel VanderWerf wrote: > Disadvantages: > > - A container's services live in the same namespace as the methods > inherited from Kernel and Object, so a service called "dup", for > example, will prevent calling Object#dup on the container (except in > the implementation of the dup service, which can use super to invoke > Object#dup). The MinDI framework itself adds a few methods that > could conflict with services (#singleton, #generic, etc.). They can still be called in a wordy way: Object.instance_method(:dup).bind(container).call Maybe this could be wrapped into a small helper method?