NAME
ri1.9 - Ruby Information at your fingertips
SYNOPSIS
ri1.9 [options] [names...]
DESCRIPTION
ri1.9 displaies information on Ruby classes, modules, and methods. You
can give the names of classes or methods to see their documentation.
Partial names may be given: if the names match more than one entity, a
list will be shown, otherwise details on that entity will be displayed.
Nested classes and modules can be specified using the normal Name::Name
notation, and instance methods can be distinguished from class methods
using "." (or "#") instead of "::".
For example:
ri1.9 File
ri1.9 File.new
ri1.9 F.n
ri1.9 zip
Note that shell quoting may be required for method names containing
punctuation:
ri1.9 ’Array.[]’
ri1.9 compact\!
OPTIONS
--classes, -c
Display the names of classes and modules we know about.
--doc-dir, -d dirname
A directory to search for documentation. If not specified, we
search the standard rdoc/ri directories.
--format, -f name
Format to use when displaying output: ansi, bs, html, plain,
simple. Use the -T option, or tell your pager to allow control
characters. (for example using the -R option to less.)
--list-names, -l
List all the names known to RDoc, one per line.
--no-pager, -T
Send output directly to stdout.
--width, -w width
Set the width of the output.
--version, -v
Display the version of ri1.9.
--help, -h
Display help.
Options may also be passed in the ’RI’ environment variable
April 2005 ri1.9(1)