RDoc XML: How to include methods data?

RDoc experts:

I used RDoc to generate XML output for a set of ruby classes, but I
can’t
get RDoc output to include the methods information.

Test cases:

This command line:
rdoc -a --fmt xml -T xml.rb -n src_184.xml
\ruby\src\ruby-1.8.4_2006-04-14
…produces xml that contains classes and files but no methods.

This almost identical command line:
rdoc -a --fmt html -n src_184.htm \ruby\src\ruby-1.8.4_2006-04-14
… produces html, with method data included.

In addition, I see that the template (xml.rb) includes sections like:


IF:method_list

START:method_list
IF:methods
START:methods

%params%
[…]

… like it was clearly intended to output methods data.

Anyone know what’s up with this?

FWIW, this is using 1.8.4 on Windows. (Probably obvious from the above!)

Thanks,

Graham

–

Graham W.
Microsoft Visio MVP