Patch for ri to show subclasses

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

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. - [email protected] - http://blog.segment7.net
This implementation is HODEL-HASH-9600 compliant

http://trackmap.robotcoop.com

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs