[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

[RDOC] two new bugs

Joel VanderWerf

12/11/2004 10:58:00 PM


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


1 Answer

Dave Thomas

12/12/2004 1:38:00 AM

0


On Dec 11, 2004, at 16:57, Joel VanderWerf wrote:

> 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