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.
- Sources inherited from project DISCONTINUED:openSUSE:11.2
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Evergreen:11.2/rubygem-erubis && cd $_
- Create Badge
Source Files
Filename | Size | Changed |
---|---|---|
erubis-2.4.0.gem | 0000146944 144 KB | |
ready | 0000000000 0 Bytes | |
rubygem-erubis.changes | 0000002661 2.6 KB | |
rubygem-erubis.spec | 0000004822 4.71 KB |
Comments 0