DI in Ruby
So, does anyone use Dependency Injection in Ruby?
- Not too many…
- Net::SSH, Nukumi2, and some "in-house" projects use Needle
Why?
- The dynamic nature of Ruby reduces the payoff
- DI really becomes useful in really large projects
- There aren’t that many really large Ruby projects.