eRuby is a templating system that embeds Ruby into a text document. It is popular in HTML documents.
eRuby allows to write Ruby code enclosed by <% and %>. The embedded code blocks are evaluated in-place (and replaced by the result of their evaluation).