Where to find the help document?

Hello,

How to find ruby’s help document?
for example, I want to know what’s the difference between two
functions of “p” and “print”, but don’t know where to search.

Thanks.

These are described in the Pickaxe book which is distributed with Ruby.
Also you can use ri.

Or have a look at http://www.ruby-doc.org .

Marvin

2009/11/22 nas [email protected]:

Here are the core docs RDoc Documentation

and here the standard library docs RDoc Documentation

Thanks all.
So, is there a convenient way to check the usage of a function?
like unix’s man printf or Perl’s perldoc -f print

Regards.

Here are the core docs RDoc Documentation

and here the standard library docs RDoc Documentation

In message [email protected], Haoqi
Haoqi [email protected] writes

man ri

Or for Windows users:

ri --help

man ri