Interpolate values from a hash into a template string in Ruby.