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"> [%rw%] </td>
$ rdoc --accessor myattr=XYZ
foo.rb: c..c
Generating HTML...
Files: 1
Classes: 2
Modules: 0
Methods: 2
Elapsed: 0.248s
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"> [%rw%] </td>
$ rdoc --accessor myattr=XYZ
foo.rb: c..c
Generating HTML...
Files: 1
Classes: 2
Modules: 0
Methods: 2
Elapsed: 0.248s