erubySection: User Commands (1)Updated: September 2000 |
erubySection: User Commands (1)Updated: September 2000 |
eruby - Embedded Ruby Language
eruby interprets a Ruby code embedded text file. For example, eruby enables you to embed a Ruby code to a HTML file. A Ruby block starts with `<%' and ends with `%>'. eRuby replaces the block with its output. If `<%' is followed by `=', eRuby replaces the block with a value of the block. If `<%' is followed by `#', the block is ignored as a comment.
f: filter mode
c: CGI mode
n: NPH-CGI mode
Shugo Maeda <shugo@ruby-lang.org>