Class: Ant::Configuration::ServiceManager

Inherits:
Object
  • Object
show all
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

Methods included from DRY::ResourceInjector

register, resource, resources

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