eruby(1)
NAME
eruby – Embedded Ruby Language
SYNOPSIS
eruby [options] [inputfile]
DESCRIPTION
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.
OPTIONS
-d, –debugset debugging flags (set $DEBUG to true)-Kkcodespecifies KANJI (Japanese) code-set-Mmodespecifies runtime mode-C charsetspecifies charset parameter for Content-Type-n, –noheaderdisables CGI header output-v, –verboseenables verbose mode–versionprint version information and exit
f: filter mode
c: CGI mode
n: NPH-CGI mode
AUTHOR
Shugo Maeda <shugo [at] ruby-lang.org>