Where's the 'rubydoc' command?


(Philip Mak) #1

In Perl, I can just type e.g. “perldoc CGI” to get the documentation
on the CGI module.

Is there an equivalent command in Ruby?


(Dave Thomas) #2

Philip Mak pmak@animeglobe.com writes:

In Perl, I can just type e.g. “perldoc CGI” to get the documentation
on the CGI module.

Is there an equivalent command in Ruby?

For standard classes and libraries there’s ‘ri’ (available on the
RAA). For the external ones… well, we’re working on it :slight_smile: The RDoc
project will deliver this kind of thing when I actually get time to
work on it :slight_smile:

Dave