Sha256: 52887679242dc03817ce949fa1a6af9095099017e09276880ed3f2c9640967ef
Contents?: true
Size: 227 Bytes
Versions: 2
Compression:
Stored size: 227 Bytes
Contents
require 'fitting/configuration/yaml' require 'yaml' module Fitting class Configuration def self.craft yaml = YAML.safe_load(File.read('.fitting.yml')) Fitting::Configuration::Yaml.new(yaml) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fitting-2.18.3 | lib/fitting/configuration.rb |
fitting-2.18.2 | lib/fitting/configuration.rb |