Created
September 4, 2019 23:09
-
-
Save matspitz1/54b42f5ad8714607345d57ba7f56acb2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def get_configuration | |
config_file = YAML.load_file(CONFIG) if File.exists? CONFIG | |
Hash.new.tap { |c| | |
c = (!config_file.nil? && config_file['lamda'] ? config_file['lamda'] : LAMDA) | |
} | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment