Sha256: a0f34c8b6785e28271b2ea44a0adf400ff83fc3518d9560f3d276d0f7c56a713
Contents?: true
Size: 238 Bytes
Versions: 5
Compression:
Stored size: 238 Bytes
Contents
require 'yaml' class Config def self.settings if File.exists? "#{ENV['HOME']}/.r4.yml" YAML::load_file("#{ENV['HOME']}/.r4.yml") else 'You need to create ~/.r4.yml file, check github for example.' end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
r4-0.1.5 | lib/r4/config.rb |
r4-0.1.4 | lib/r4/config.rb |
r4-0.1.3 | lib/r4/config.rb |
r4-0.1.2 | lib/r4/config.rb |
r4-0.1.1 | lib/r4/config.rb |