Module: Callme
- Defined in:
- lib/callme/inject.rb,
lib/callme/version.rb,
lib/callme/container.rb,
lib/callme/contract_validator.rb
Overview
Extend object with the dep injection mechanism Example of usage: class Bar end
class Foo
include Callme::Inject
inject :bar
or:
inject :some_bar, ref: bar
end
ioc_container.bar == ioc_container
Defined Under Namespace
Modules: ArgsValidator, ConstLoaders, Errors, Inject, Scopes Classes: Container, ContractValidator, DepFactory, DepMetadata, DepsMetadataStorage
Constant Summary collapse
- VERSION =
"0.6.0"