Recent Changes - Search:

edit SideBar

Firefox 2
Get Thunderbird!


ri (Ruby Information)

To list classes and methods

  $ ri -l

Display the names of classes and modules we know about.

  $ ri -c

Getting information about a class:

  $ ri Array
  $ ri Hash

Information for instance methods:

  $ ri Array.slice
  $ ri Array#slice
  $ ri 'Array#<<'

Informaiton for class methods:

  $ ri File::read

Specify a directory to searhc for docs:

$ ri -d railstest -l

Edit - History - Print - Recent Changes - Search
Page last modified on May 20, 2008, at 04:44 AM