String Ruby

require 'erb'
template = ERB.new %q{static string <%= food %>!}
food = "bacon"
template.result(binding)           
food = "peanut butter"
template.result(binding)           
puts template.result