Sha256: d99a2459287574d11f0a38866e7f7aa73d65cc2b16485dfa6aaea71cb4f0e0a8
Contents?: true
Size: 467 Bytes
Versions: 2
Compression:
Stored size: 467 Bytes
Contents
require 'yaml' require_relative 'config' module PairingMatrix class ConfigReader def initialize(config_file) @config_file = config_file end def config raw_config = YAML::load_file @config_file PairingMatrix::Config.new( raw_config['repos'], raw_config['authors_regex'], raw_config['github_access_token'], raw_config['github_repos'], raw_config['github_url'] ) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pairing_matrix-2.3.1 | lib/pairing_matrix/config/config_reader.rb |
pairing_matrix-2.3 | lib/pairing_matrix/config/config_reader.rb |