class Taeval::ConfigManager

Attributes

config[R]
output[R]
reporter[R]

Public Class Methods

create(config_file) click to toggle source
# 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
new(config, output, reporter) click to toggle source
# File lib/taeval/config_manager.rb, line 26
def initialize(config, output, reporter)
  @config   = config
  @reporter = reporter
  @output   = output
end