joshwalsh/Tordoid — pull request #1 by jonathanpenn (2011-11-01 03:42:46+00:00)
Title: My five minute dependency injection

Here's two commits I made that change as little code as possible but demonstrate what I was talking about. Check the commit messages and comments. Let me know if it's not clear.

I don't think this is the final answer to this. I'm sure there's some better abstractions that could come out with some discussion, but it's what I came up with at midnight. :)