Trenni is a templating system that evaluates textual strings containing Ruby code. It compiles templates directly into native code which means that you generally get the best possible performance. In addition, Trenni includes an SGML/XML builder to assist with the generation of pleasantly formatted markup.
Gemfile gem 'trenni', '~> 1.4.0'
install gem install trenni