Sha256: 7a4e0f219d242ebf4e533e55e0d8e0315b604280f6fc1222636e186a74f544b0
Contents?: true
Size: 365 Bytes
Versions: 2
Compression:
Stored size: 365 Bytes
Contents
module Goodcheck module Commands module ConfigLoading attr_reader :config def load_config! content = JSON.parse(JSON.dump(YAML.load(config_path.read, config_path.to_s)), symbolize_names: true) loader = ConfigLoader.new(path: config_path, content: content, stderr: stderr) @config = loader.load end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
goodcheck-1.3.1 | lib/goodcheck/commands/config_loading.rb |
goodcheck-1.2.0 | lib/goodcheck/commands/config_loading.rb |