--------------enig5CA113EFF872EFA9195D832D
Content-Type: multipart/mixed;
 boundary-----------050706050807050402020306"

This is a multi-part message in MIME format.
--------------050706050807050402020306
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

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

--------------050706050807050402020306
Content-Type: text/plain;
 namei-patch.diff"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
 filenamei-patch.diff"

ZGlmZiAtd3VyIHJkb2Mtb3JnL3JpL3JpX2Rlc2NyaXB0aW9ucy5yYiByZG9jL3JpL3JpX2Rl
c2NyaXB0aW9ucy5yYgotLS0gcmRvYy1vcmcvcmkvcmlfZGVzY3JpcHRpb25zLnJiCTIwMDYt
MDQtMDIgMjA6NDY6MDQuMDAwMDAwMDAwICswMjAwCisrKyByZG9jL3JpL3JpX2Rlc2NyaXB0
aW9ucy5yYgkyMDA2LTA0LTAyIDIwOjQ3OjIxLjAwMDAwMDAwMCArMDIwMApAQCAtNjMsNiAr
NjMsNyBAQAogICAgIGF0dHJfYWNjZXNzb3IgOm5hbWUKICAgICBhdHRyX2FjY2Vzc29yIDpm
dWxsX25hbWUKICAgICBhdHRyX2FjY2Vzc29yIDpjb21tZW50CisgICAgYXR0cl9hY2Nlc3Nv
ciA6c3ViY2xhc3NlcwogCiAgICAgZGVmIHNlcmlhbGl6ZQogICAgICAgc2VsZi50b195YW1s
CmRpZmYgLXd1ciByZG9jLW9yZy9yaS9yaV9kaXNwbGF5LnJiIHJkb2MvcmkvcmlfZGlzcGxh
eS5yYgotLS0gcmRvYy1vcmcvcmkvcmlfZGlzcGxheS5yYgkyMDA2LTA0LTAyIDIwOjQ2OjA0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ybmFtZSgg
cGF0aCApICkKKyAgICAgICAgc3ViY2xhc3NlcyA9IFtdCisgICAgICAgIGRpci5lYWNoIGRv
IHwgZCB8CisgICAgICAgICAgbmV4dCBpZiBkLm1hdGNoKC9eXC4vKQorICAgICAgICAgIG5l
eHQgdW5sZXNzIEZpbGUuZGlyZWN0b3J5PyggRmlsZS5qb2luKCBkaXIucGF0aCwgZCApICkK
KyAgICAgICAgICBzdWJjbGFzc2VzLnB1c2goIGQgKQorICAgICAgICBlbmQKKwogICAgICAg
ICBkZXNjID0gRmlsZS5vcGVuKHBhdGgpIHt8ZnwgUkk6OkRlc2NyaXB0aW9uLmRlc2VyaWFs
aXplKGYpIH0KKyAgICAgICAgZGVzYy5zdWJjbGFzc2VzID0gc3ViY2xhc3NlcworCiAgICAg
ICAgIGlmIHJlc3VsdAogICAgICAgICAgIHJlc3VsdC5tZXJnZV9pbihkZXNjKQogICAgICAg
ICBlbHNlCg--------------050706050807050402020306
Content-Type: text/plain;
 namei"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
 filenamei"

IyEvdXNyL2Jpbi9lbnYgcnVieQoKcmVxdWlyZSAncmRvYy9yaS9yaV9kcml2ZXInCgptb2R1
bGUgUkkKCiAgY2xhc3MgRGVzY3JpcHRpb24KICAgIGF0dHJfYWNjZXNzb3IgOnN1YmNsYXNz
ZXMKICBlbmQKCiAgY2xhc3MgUmlSZWFkZXIKCiAgICAjIFJldHVybiBhIGNsYXNzIGRlc2Ny
aXB0aW9uCiAgICBkZWYgZ2V0X2NsYXNzKGNsYXNzX2VudHJ5KQogICAgICByZXN1bHQgPSBu
aWwKICAgICAgZm9yIHBhdGggaW4gY2xhc3NfZW50cnkucGF0aF9uYW1lcwogICAgICAgIHBh
dGggPSBSaVdyaXRlci5jbGFzc19kZXNjX3BhdGgocGF0aCwgY2xhc3NfZW50cnkpCiAgICAg
ICAgZGlyID0gRGlyLm9wZW4oIEZpbGUuZGlybmFtZSggcGF0aCApICkKICAgICAgICBzdWJj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uZW1wdHk/CiAg
ICAgICAgQGZvcm1hdHRlci5ibGFua2xpbmUKICAgICAgICBAZm9ybWF0dGVyLmRpc3BsYXlf
aGVhZGluZygiU3ViQ2xhc3NlczoiLCAyLCAiIikKICAgICAgICBAZm9ybWF0dGVyLndyYXAo
a2xhc3Muc3ViY2xhc3Nlcy5zb3J0LmpvaW4oJywgJykpCiAgICAgIGVuZAogICAgZW5kCiAg
ZW5kCmVuZAoKcmkgPSBSaURyaXZlci5uZXcKcmkucHJvY2Vzc19hcmdzCg--------------050706050807050402020306--

--------------enig5CA113EFF872EFA9195D832D
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFETTv4evlgTHEIT4YRAv2iAJwNmc9ipjv2x1/7W6HJBI4wfub1agCghDhM
Zt74sY7VpvecjNsUC7dqhj0y
-----END PGP SIGNATURE-----

--------------enig5CA113EFF872EFA9195D832D--