Company Logo Simplest html/xhtml template library for Ruby
Amrita Homepage
To Japanese

Amrita Homepage

What is Amrita?

Amrita is a a html/xhtml template library for Ruby. It makes html documents from a template and a model data.

Amrita concept figure
Amrita provides to join pure html document and model data.

Key Features


Amrita mixes a template and model data up to a html document naturally matching the id attribute of HTML element to model data.

<table border="1">
  <tr id="table1">
  <td id="name"><td id="author">
data = {
  :table1 => [
    { :name=>"Ruby", :author=>"matz" },
    { :name=>"perl", :author=>"Larry Wall" },
    { :name=>"python", :author=>"Guido van Rossum" },
template + data = output


Amrita is Copyright © 2002 Taku Nakajima. It is free software, and may be redistributed under the terms specified in the README file of the Ruby distribution.