Class: Ant::Configuration::ServiceManager
- Inherits:
-
Object
- Object
- Ant::Configuration::ServiceManager
- Extended by:
- DRY::ResourceInjector
- Defined in:
- lib/ant/configs/service_manager.rb
Overview
Allow to autoload configurations into ruby. It allows to implement new plugins.
Instance Method Summary collapse
-
#initialize(configs) ⇒ ServiceManager
constructor
A new instance of ServiceManager.
- #register_plugin(name) ⇒ Object
Methods included from DRY::ResourceInjector
Constructor Details
#initialize(configs) ⇒ ServiceManager
Returns a new instance of ServiceManager.
13 14 15 |
# File 'lib/ant/configs/service_manager.rb', line 13 def initialize(configs) @configs = configs end |
Instance Method Details
#register_plugin(name) ⇒ Object
17 |
# File 'lib/ant/configs/service_manager.rb', line 17 def register_plugin(name); end |