views:

206

answers:

5

How are you supposed to find stuff on Ruby Doc? I can't find navigate it at all.

+4  A: 

You can do a custom Google search:

  http://ruby-doc.org/q/<your search string>
+2  A: 

I use http://www.gotapi.com/rubyrails

Regards,

Larry

Larry K
This is cool. But I can't tell if it's showing documentation for Ruby 1.8 or 1.9?
+2  A: 

I use the lookup gem I wrote. Does Ruby + Rails documentation.

Ryan Bigg
+4  A: 

Use ri, the command line tool:

% ri
ri v1.0.1 - 20041108

Usage:

  ri [options]  [names...]

Display information on Ruby classes, modules, and methods.
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:

    ri  File
    ri  File.new
    ri  F.n
    ri  zip

Note that shell quoting may be required for method names
containing punctuation:

    ri 'Array.[]'
    ri compact\!

For help on options, type 'ri -h'
For a list of classes I know about, type 'ri -c'
rampion
A: 

Try RubyBrain.

ski