Lightweight dependency injection for Ruby