Registry / utility / dry-container

dry-container

JSON →
library0.11.0rbrubygemsunverified

A simple, configurable object container implemented in Ruby.

gem install dry-container
INSTALL
IMPORT
SIG · DRY-CONTAINER
D
dry-container
utilityrubyv0.11.0
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.

Dry::Container
✓ require 'dry/container'

Register and resolve dependencies

require 'dry/container' class MyContainer extend Dry::Container::Mixin register('db') { 'postgres' } end MyContainer['db'] # => 'postgres'
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.11.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
dry-container — gem install dry-container · libregistry