RHTML

From Wikipedia, the free encyclopedia

RHTML is the default templating engine used by the Ruby on Rails web application framework. It allows a mix of HTML and inline Ruby code.

Example:

<ul>
  <% People.find( :all ).each do |person| %>
    <li><%= person.name %></li>
  <% end %>
</ul>