A minimal dependency injection framework for Ruby, using vanilla Ruby semantics to define and reference dependencies from different providers.
A minimal dependency injection framework for Ruby, using vanilla Ruby semantics to define and reference dependencies from different providers.
This is the documentation for the current development build of Plumbum.
Add the gem to your Gemfile or gemspec:
gem 'plumbum'
Require Plumbum in your code:
require 'plumbum'
Plumbum defines the following core components:
For a full list of defined classes and objects, see Reference.