Forum: Ruby Patch for ri to show subclasses

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Sven K. (Guest)
on 2006-04-25 00:57
(Received via mailing list)
Hello,

I've written a patch for ri to also show subclasses at the class
documentation.
The output with the patch looks like this:

~> ri -T Momomoto
-------------------------------------------------------- Class: Momomoto
     Momomoto is a database abstraction layer

------------------------------------------------------------------------


SubClasses:
-----------
     Base, CriticalError, Database, Datatype, Error, Function,
     Information_schema, Table, View

I've attached a patch to the ri classes and a standalone version.
I would really love to see this integrated into the official ri.

Sven
Eric H. (Guest)
on 2006-04-25 01:31
(Received via mailing list)
On Apr 24, 2006, at 1:55 PM, Sven K. wrote:

> Hello,
>
> I've written a patch for ri to also show subclasses at the class
> documentation.
> The output with the patch looks like this:

Please post this patch to ruby-core.

--
Eric H. - removed_email_address@domain.invalid - http://blog.segment7.net
This implementation is HODEL-HASH-9600 compliant

http://trackmap.robotcoop.com
This topic is locked and can not be replied to.