1eruby(1)                    General Commands Manual                   eruby(1)
2
3
4

NAME

6       eruby - Embedded Ruby Language
7

SYNOPSIS

9       eruby [options] [inputfile]
10

DESCRIPTION

12       eruby  interprets  a  Ruby  code embedded text file. For example, eruby
13       enables you to embed a Ruby code to a HTML file.  A Ruby  block  starts
14       with `<%' and ends with `%>'. eRuby replaces the block with its output.
15       If `<%' is followed by `=', eRuby replaces the block with  a  value  of
16       the  block.  If `<%' is followed by `#', the block is ignored as a com‐
17       ment.
18

OPTIONS

20       -d, --debug
21              set debugging flags (set $DEBUG to true)
22
23       -Kkcode
24              specifies KANJI (Japanese) code-set
25
26       -Mmode specifies runtime mode
27                  f: filter mode
28                  c: CGI mode
29                  n: NPH-CGI mode
30
31       -C charset
32              specifies charset parameter for Content-Type
33
34       -n, --noheader
35              disables CGI header output
36
37       -v, --verbose
38              enables verbose mode
39
40       --version
41              print version information and exit
42

AUTHOR

44       Shugo Maeda <shugo@ruby-lang.org>
45
46
47
48                                September 2000                        eruby(1)
Impressum