rdoc/rdoc — pull request #118 by ged (2012-04-16 23:19:33+00:00)
Title: Add documentation for 'extend' modules

RDoc currently documents modules that are added to a module or class via `include`, but doesn't track modules added via `extend`.

This patch adds that feature, the template changes necessary to list them (under the Included Modules section) in the Darkfish generator, and a test of the new `RDoc::Extend` class.

Some Caveats:

* I'm not really sure about the test, as it's just copied from the one for RDoc::Include. I found it a bit difficult to decypher what exactly it's testing, so hopefully I came close.
* This bumps the Marshal version, but (I think) maintains backward- and forward-compatibility, i.e., the new code should read v1 objects, and v1 code should just ignore the 'extends' part of v2-marshalled objects.
* I'm not sure about the names of things, as `extend` itself is really a slightly inaccurate description of what it does when used declaratively like `include`.

Thanks for listening!