Registry / utility / morphine

morphine

JSON →
library0.1.1rbrubygemsunverified

Morphine is a lightweight dependency injection framework for Ruby that uses a simple Ruby DSL to ease dependency wiring.

gem install morphine
INSTALL
IMPORT
SIG · MORPHINE
M
morphine
utilityrubyv0.1.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Morphine
require 'morphine'

Define and use a dependency

require 'morphine' class App include Morphine register(:logger) { Logger.new($stdout) } end App.new.logger.info('Hello')
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources