Erubis is a pure Ruby implementation of eRuby
Erubis is a pure Ruby implementation of eRuby. It has the following
features.
* Very fast, almost three times faster than ERB and even as fast as
eruby (implemented in C)
* Auto escaping (sanitizing) support
* Auto trimming spaces around '<% %>'
* Embedded pattern changeable (default '<% %>')
* Multi-language support (Ruby/PHP/C/Java/Scheme/Perl/Javascript)
* Context object available and easy to combine eRuby template with
YAML datafile
* Easy to expand in subclass, for example:
- Print statement support
- Lines starting with percent character ('%') support
- Another embedded pattern support
- etc...
Erubis supports not only Ruby but also PHP, C, Java, Scheme, Perl, and
Javascript. You can embed these language code into your document and
compile it into target program code.
Authors:
--------
makoto kuwata
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:dl9pf:rts-luh/rubygem-erubis && cd $_
- Create Badge
Source Files
Filename | Size | Changed |
---|---|---|
erubis-2.6.2.gem | 0000158720 155 KB | |
rubygem-erubis.changes | 0000004131 4.03 KB | |
rubygem-erubis.spec | 0000002265 2.21 KB |
Comments 0