home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ruby164.zip / rbemx164.zip / ruby / share / doc / eruby-0.9.4 / eruby.rd < prev    next >
Text File  |  2000-09-13  |  904b  |  49 lines

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