# File lib/simp/cli/config/items_yaml_generator.rb, line 73 def make_substitutions(yaml, substitutions) new_yaml = yaml.dup substitutions.each do |sub_hash| key = sub_hash.keys[0] new_yaml.gsub!("%#{key}%", sub_hash[key]) end return new_yaml end