# Embedded Ruby (ERB or eRuby) embeds arbitrary Ruby code in text files.
# The code is executed when the file is processed.
# ERB comes with the Ruby distribution.
# It's very common to embed code in HTML or XHTML.
person = "myValue!"
temp = ERB.new( "Hello, <%= person %>" )
puts temp.result( binding ) # => Hello, myValue!
Related examples in the same category