an embedded Ruby language interpreter
add an example, a script, a trick and tips
no example yet ...
... Feel free to add your own example above to help other Linux-lovers !
a Ruby code embedded text file. For example, erb enables you
to embed a Ruby code to a HTML file. A Ruby block starts
with ’<%’ and ends with ’%>’.
erb 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.
print ruby script
print ruby script with line number
enables verbose mode
set debugging flags (set $DEBUG to true)
load a library
specifies KANJI code-set
(euc or sjis) or UTF-8 (utf8)
set $SAFE (0..4)
specify trim_mode (0..2)
disregard the lin which starts in "%"
stands on eruby(1) which is written by Shugo Maeda