1 2 3 4
CustomConfig = {} for conf in ['bot', 'reminders'] CustomConfig[conf.camelize] = YAML.load open("config/#{conf}.yml").read end