h1. html-template-pro h2. What A Ruby port of HTML::Template::Pro (template engine originally written in Perl and XS). h2. Installing
sudo gem install html-template-pro
h2. The basics
  # foo.rb
  require 'html/template/pro'
  
  template = HTML::Template::Pro.new(:filename => 'foo.tmpl')
  template.param(:param1 => 100)
  puts template.output
  
  # foo.tmpl
  
    
    
      

# results $ ruby foo.rb

100

Template syntax compies with original Perl module's. See also, "HTML::Template::SYNTAX":http://search.cpan.org/~viy/HTML-Template-Pro-0.92/lib/HTML/Template/SYNTAX.pod#SYNOPSIS h2. Project <% if rubyforge_project_id %> * rubyforge: "http://rubyforge.org/scm/?group_id=<%= rubyforge_project_id %>":http://rubyforge.org/scm/?group_id=<%= rubyforge_project_id %> <% else %> * rubyforge: MISSING IN ACTION TODO - You can not created a RubyForge project, OR have not run rubyforge config yet to refresh your local rubyforge data with this projects' id information. When you do this, this message will magically disappear! Or you can hack website/index.txt and make it all go away!! <% end %> * rdoc documentations: "http://tmplpro.rubyforge.org/rdoc/":http://tmplpro.rubyforge.org/rdoc/ * github: "http://github.com/tom-lpsd/ruby-html-template-pro/tree/master":http://github.com/tom-lpsd/ruby-html-template-pro/tree/master
git clone git://github.com/tom-lpsd/ruby-html-template-pro.git
h3. Build and test instructions
cd ruby-html-template-pro
rake test
rake install_gem
h2. License This library is free software; you can redistribute it and/or modify it under the same terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. h2. Contact Comments are welcome. Send an email to "Tom Tsuruhara":mailto:tom.lpsd@gmail.com