module

RDoc::RI::Display

ruby latest stable

Module deprecated or moved

This module is deprecated or moved on the latest stable version. The last existing version (v1_9_1_378) is shown here.

This is a kind of ‘flag’ module. If you want to write your own ‘ri’ display module (perhaps because you’re writing an IDE), you write a class which implements the various ‘display’ methods in RDoc::RI::DefaultDisplay, and include the RDoc::RI::Display module in that class.

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

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

Files

  • lib/rdoc/ri/display.rb