eruby(1)

eruby1

Embedded ruby language

Usage

eruby [options] [inputfile]

Overview

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, --debug

set debugging flags (set $DEBUG to true)

-Kkcode

specifies KANJI (Japanese) code-set

-Mmode

specifies runtime mode

    f: filter mode
    c: CGI mode
    n: NPH-CGI mode
-C charset

specifies charset parameter for Content-Type

-n, --noheader

disables CGI header output

-v, --verbose

enables verbose mode

--version

print version information and exit

Releases

7 releases since Debian 2.2 (Potato); the text changed 1 time.

  1. 2.2
  2. 3.0–7

--debug since Debian 3.0 (Woody); --noheader since Debian 3.0 (Woody); --verbose since Debian 3.0 (Woody); --version since Debian 3.0 (Woody); -C since Debian 3.0 (Woody); -Kkcode since Debian 3.0 (Woody); -Mmode since Debian 3.0 (Woody); -d since Debian 3.0 (Woody); -n since Debian 3.0 (Woody); -v since Debian 3.0 (Woody).

Author

Shugo Maeda <[email protected]>

From eruby 1.0.5-2.1 in Debian 7 (Wheezy). Parsed by carta from the page's man source.