Sha256: 81251c9ca0cf183baeafc2b4b86bd7de06c66ec4a73ac329621cd323639229ec
Contents?: true
Size: 527 Bytes
Versions: 15
Compression:
Stored size: 527 Bytes
Contents
require 'settingslogic' class Comfy::Settings < Settingslogic CONFIGURATION = 'comfy.yml' # three possible configuration file locations in order by preference # if configuration file is found rest of the locations are ignored source "#{ENV['HOME']}/.comfy/#{CONFIGURATION}"\ if File.exist?("#{ENV['HOME']}/.comfy/#{CONFIGURATION}") source "/etc/comfy/#{CONFIGURATION}"\ if File.exist?("/etc/comfy/#{CONFIGURATION}") source "#{File.dirname(__FILE__)}/../../config/#{CONFIGURATION}" namespace 'production' end
Version data entries
15 entries across 15 versions & 1 rubygems