alecthomas/injector — pull request #3 by jstasiak (2012-11-16 01:39:32+00:00)
Title: Few minor changes

.gitignore creation and injector accepting modules also as non-instantiated classes are just cosmetic changes.

The ``with_injector`` decorator is modeled on GuiceBerry Junit3 decorator and allows to save some keystrokes and lines of code when using injector for unittesting (I was struggling between creating class decorator and method decorator). Basically what it does is it installs configured Injector instance into specific object which owns the method and allows you to inject stuff into it's methods even though the object wasn't created by injector itself.

I'm not sure if this's the best way to do it, any comments appreciated.