1eruby(1) General Commands Manual eruby(1)
2
3
4
6 eruby - Embedded Ruby Language
7
9 eruby [options] [inputfile]
10
12 eruby interprets a Ruby code embedded text file. For example, eruby
13 enables you to embed a Ruby code to a HTML file.
14
15 A Ruby block starts with `<%' and ends with `%>'. eRuby replaces the
16 block with its output.
17
18 If `<%' is followed by `=', eRuby replaces the block with a value of
19 the block.
20
21 If `<%' is followed by `#', the block is ignored as a comment.
22
24 -d, --debug
25 set debugging flags (set $DEBUG to true)
26
27 -Kkcode
28 specifies KANJI (Japanese) code-set
29
30 -Mmode specifies runtime mode
31 f: filter mode
32 c: CGI mode
33 n: NPH-CGI mode
34 -C charset specifies charset parameter for Content-Type
35
36 -n, --noheader
37 disables CGI header output
38
39 -v, --verbose
40 enables verbose mode
41
42 --version
43 print version information and exit
44
46 Shugo Maeda <shugo@ruby-lang.org>
47
48
49
50 January 2007 eruby(1)