Erubis

Fast, secure, and very extensible implementation of eRuby
Download

Erubis Ranking & Summary

Advertisement

  • Rating:
  • License:
  • MIT
  • Price:
  • FREE
  • Publisher Name:
  • Makoto Kuwata
  • Publisher web site:
  • http://editorkicker.rubyforge.org/
  • Operating Systems:
  • Mac OS X
  • File Size:
  • 158 KB

Erubis Tags


Erubis Description

Fast, secure, and very extensible implementation of eRuby Erubis is a fast, secure, and very extensible implementation of eRuby. eRuby means "embedded Ruby" in documents. Embedded patterns are '' and ''. The following is an example of eRuby. '' means Ruby statement and '' means Ruby expression.Erubis is implemented in Ruby and is, at the moment, ported to Java. You can also easily use Erubis in Java with Rhino. Here are some key features of "Erubis": · Very fast, almost three times faster than ERB and about ten percent faster than eruby (implemented in C). · File caching of converted Ruby script support. · Auto escaping (sanitizing) support, it means that '' can be escaped in default. It is desirable for web application. · Spaces around '' are trimmed automatically only when '' is at the end of line. · Embedded pattern changeable (default ''), for example '' or '' are available. · Enable to handle Processing Instructions (PI) as embedded pattern (ex. ''). This is desirable for XML/HTML than '' because the latter breaks HTML design but the former doesn't. · Multi-language support (Ruby/PHP/C/Java/Scheme/Perl/Javascript). · Context object available and easy to combine eRuby template with YAML datafile (see the below example). · Print statement available. · Easy to expand and customize in subclass · Print statement support · Lines starting with percent character ('%') support · Another embedded pattern support · Ruby on Rails support. · Mod_ruby support. What's New in This Release: · Fixed bug around '-z' option


Erubis Related Software