]> git.pld-linux.org Git - packages/ruby.git/blame - ri.1
- added; fixes CVE-2006-5467.
[packages/ruby.git] / ri.1
CommitLineData
92275170 1.\" DO NOT MODIFY THIS FILE! it was generated by rd2
2.TH ri 1 "April 2005"
3.SH NAME
4.PP
5ri \- Ruby Information at your fingertips
6.SH SYNOPSIS
7.PP
8ri [options] [names...]
9.SH DESCRIPTION
10.PP
11\fIri\fP displaies information on Ruby classes, modules, and methods.
12You can give the names of classes or methods to see their documentation.
13Partial names may be given: if the names match more than
14one entity, a list will be shown, otherwise details on
15that entity will be displayed.
16.PP
17Nested classes and modules can be specified using the normal
18Name::Name notation, and instance methods can be distinguished
19from class methods using "." (or "#") instead of "::".
20.PP
21For example:
22.nf
23\& ri File
24\& ri File.new
25\& ri F.n
26\& ri zip
27.fi
28.PP
29Note that shell quoting may be required for method names
30containing punctuation:
31.nf
32\& ri 'Array.[]'
33\& ri compact\\!
34.fi
35.SH OPTIONS
36.TP
37.fi
38.B
39\-\-classes, \-c
40Display the names of classes and modules we know about.
41.TP
42.fi
43.B
44\-\-doc\-dir, \-d dirname
45A directory to search for documentation. If not specified, we search the
46standard rdoc/ri directories.
47.TP
48.fi
49.B
50\-\-format, \-f name
51Format to use when displaying output: ansi, bs, html, plain, simple. Use
52'bs' (backspace) with most pager programs. To use ANSI, either also use
53the \-T option, or tell your pager to allow control characters. (for
54example using the \-R option to less.)
55.TP
56.fi
57.B
58\-\-list\-names, \-l
59List all the names known to RDoc, one per line.
60.TP
61.fi
62.B
63\-\-no\-pager, \-T
64Send output directly to stdout.
65.TP
66.fi
67.B
68\-\-width, \-w width
69Set the width of the output.
70.TP
71.fi
72.B
73\-\-version, \-v
74Display the version of ri.
75.TP
76.fi
77.B
78\-\-help, \-h
79Display help.
80.PP
81Options may also be passed in the 'RI' environment variable
82
This page took 0.222725 seconds and 4 git commands to generate.