Method: Taeval::ConfigManager.create

Defined in:
lib/taeval/config_manager.rb

.create(config_file) ⇒ Object



15
16
17
18
19
20
# File 'lib/taeval/config_manager.rb', line 15

def create(config_file)
  path = path_of(config_file) 
  conf = YAML.load(File.read(path))
  flatten_include!(conf)
  ConfigManager.new(conf, Output.new(conf), Reporter.new(conf))
end