From: Daniel Berger Date: 2008-04-10T05:44:36+09:00 Subject: Re: dependency injection with Needle gem On Apr 9, 12:39 pm, Chuck Remes wrote: > I am puzzling through a few things with needle and dependency > injection. I only know of one library that uses it which is net-ssh (v > 1.1.2) since both were written by Jamis Buck. > > Anyone know of another publicly available gem (or two) that uses > needle for dependency injection? The more examples I have the easier > it will be for me to figure out my development issues. DI has no place in Ruby. So says Jamis Buck himself: http://weblog.jamisbuck.org/2007/7/29/net-ssh-revisited "I've since learned my lesson and have come to understand that although DI is a nifty technique that works well in some environments, it is wholly unnecessary in Ruby. Ruby sports an agility that Java will never know, and can get by without such crutches." Regards, Dan