[RDOC] two new bugs

J

Joel VanderWerf

In the rdoc that comes with ruby 1.8.2 (2004-12-08) [i686-linux], two
things that worked fairly recently (a few months ago, maybe) seem to
have broken.

1. The -x option should not exclude files specified on the command line,
but it does:

rdoc -x . main.txt lib/**/*.rb

produces no doc files (except for doc/created.rid).

2. The --accessor option breaks unless it is given an argument:

$ rdoc --accessor myattr

foo.rb: c..c
Generating HTML...
Error in template: Template error: can't find variable 'rw'
Original line: <td
class="context-item-value">&nbsp;[%rw%]&nbsp;</td>

$ rdoc --accessor myattr=XYZ

foo.rb: c..c
Generating HTML...

Files: 1
Classes: 2
Modules: 0
Methods: 2
Elapsed: 0.248s
 
D

Dave Thomas

1. The -x option should not exclude files specified on the command
line, but it does:
2. The --accessor option breaks unless it is given an argument:

Both fixed in CVS. Thanks for the report.


Cheers

Dave
 

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 2.5 Released 7
[ANN] rdoc 3.1 Released 0
[ANN] rdoc 2.4.1 Released 0
[ANN] rdoc 2.1.0 Released 24
[ANN] rdoc 2.4.0 Released 9
[ANN] RDoc 2.4.2 Released 5
Including source in RDoc 2

Members online

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,170
Latest member
Andrew1609
Top