Sha256: 7aa3e058588d968e534be6a3ea5c5c13190d1c2986c8bbf57e027c816ed444b5
Contents?: true
Size: 423 Bytes
Versions: 3
Compression:
Stored size: 423 Bytes
Contents
require 'settingslogic' module ExtremeFeedbackDevice class Settings < ::Settingslogic def self.config_file if ExtremeFeedbackDevice.environment == "test" ::File.join('spec', 'extreme_feedback_device.yml') else ::File.join(::Dir.home, '.extreme_feedback_device.yml') end end if File.exists?(config_file) source(config_file) end namespace('default') end end
Version data entries
3 entries across 3 versions & 1 rubygems