bkeepers/morphine — pull request #3 by JonRowe (2012-09-27 14:47:10+00:00)
Title: Allow parameters to be passed in on register.

Allows parameters to be passed into register. I'm not sure this is strictly necessary for a DI framework but I've found it useful, allowing things like this...

class Selector
include Morphine

register(:type) { |id| TypeRepository.fetch(id) }
end

Thoughts?