erubis
Erubis is an implementation of eRuby and has the following features: * Very fast, almost three times faster than ERB and about 10% faster than eruby. * Multi-language support (Ruby/PHP/C/Java/Scheme/Perl/Javascript) * Auto escaping support * Auto trimming spaces around '<% %>' * Embedded pattern changeable (default '<% %>') * Enable to handle Processing Instructions (PI) as embedded pattern (ex. '<?rb ... ?>') * Context object available and easy to combine eRuby template with YAML datafile * Print statement available * Easy to extend and customize in subclass * Ruby on Rails support
Types
Docs
Guides
Zeitwerk
Namespace
Optimized
2.7.0
makoto kuwata
-
bundle add erubis
Getting Started
Learn more about the Erubis gem.
Playground
Test, play and inspect the gem for yourself