RDoc XML: How to include methods data?

G

Graham Wideman

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
<method-list>
START:method_list
IF:methods
START:methods
<method name="%name%" type="%type%" category="%category%"
id="%aref%">
<parameters>%params%</parameters>
[...]
--------------------------

.... 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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

[ANN] RDoc 3 6
[ANN] rdoc 3.5.2 Released 0
[ANN] rdoc 3.5 Released 0
[ANN] rdoc 3.3 Released 0
[ANN] rdoc 3.6 Released 4
[ANN] rdoc 2.1.0 Released 24
[ANN] rdoc 2.3.0 Released 0
[ANN] rdoc 3.1 Released 0

Members online

No members online now.

Forum statistics

Threads
473,781
Messages
2,569,619
Members
45,314
Latest member
HugoKeogh

Latest Threads

Top