Sha256: c7f3883e58e07e9989d2cb1729393e4d87b006c804098d822319676b6447809a
Contents?: true
Size: 275 Bytes
Versions: 1
Compression:
Stored size: 275 Bytes
Contents
require 'yaml' require 'active_support/core_ext/hash' module Checkoff # Load configuration file class ConfigLoader def self.load(sym) file = "#{sym}.yml" YAML.load_file(File.expand_path("~/.#{file}")) .with_indifferent_access end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
checkoff-0.1.2 | lib/checkoff/config_loader.rb |