Ruby ri for page?

15 Views Asked by At

On my machine, Ruby's ri data is in /usr/share/ri/3.0.0/system.

Therein is:

  • A directory for each found class/module (e.g., Array).
  • A file page-*.ri for each found page (e.g., page-dig_methods_rdoc.ri).

I can get the info for a class or method with a command such as ri Array or ri Array#clear.

How can I get the info from file page-dig_methods_rdoc.ri?

1

There are 1 best solutions below

0
Burdette Lamar On

Duh. A friend tells me: ri ruby:dig_methods.