Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
RDoc XML: How to include methods data?
Graham Wideman
9/6/2006 7:43:00 AM
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
--
---------------------------------------------------
Graham Wideman
Microsoft Visio MVP
---------------------------------------------------
Book/Tools:
Visio 2003 Developer's Survival Pack
Resources for programmable diagramming at:
http://www.diagram...
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
RDoc XML: How to include methods data?
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password