Module RDoc::RI::Display
In: 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 ....

Methods

Public Class methods

[Source]

    # File ri/display.rb, line 17
17:   def self.append_features(display_class)
18:     @@display_class = display_class
19:   end

[Source]

    # File ri/display.rb, line 21
21:   def self.new(*args)
22:     @@display_class.new(*args)
23:   end

[Validate]