Module RiDisplay
In: lib/rdoc/ri/ri_display.rb

This is a kind of ‘flag’ module. If you want to write your own ‘ri’ display module (perhaps because you‘r writing an IDE or somesuch beast), you simply write a class which implements the various ‘display’ methods in ‘DefaultDisplay’, and include the ‘RiDisplay’ module in that class.

To access your class from the command line, you can do

   ruby -r <your source file>  ../ri ....

If folks really want to do this from the command line, I‘ll build an option in

Methods

Public Class methods

[Validate]

ruby-doc.org is hosted and run by James Britt and Rising Tide Software, a Ruby application development company in Phoenix, Arizona. Ruby-doc.org was created in 2002 to promote the Ruby language and to help other Ruby hackers.

Documentation content on ruby-doc.org is provided by remarkable members of the Ruby community.

For more information on the Ruby programming language, visit ruby-lang.org.

Want to help improve Ruby's API docs? See Ruby Documentation Guidelines.