Embedded in the string are a pair of template tags, <%= and %>.
#!/usr/bin/env ruby require 'erb' person = "myValue!" temp = ERB.new( "Hello, <%= person %>" ) puts temp.result( binding ) # => Hello, myValue!