# File lib/choices.rb, line 17 def load_settings_hash(filename, env) yaml_content = ERB.new(IO.read(filename)).result YAML::load(yaml_content)[env] end