Basic dependency injection for Ruby.