rdoc bug DelegateClass(Other)

B

Brian Schröder

I hope this has not been reported before, but with
$ ruby -v
ruby 1.8.2 (2004-12-06) [i386-linux]
$ rdoc -v
RDoc V1.0.1 - 20041108
$ dot -V
dot version 1.14 (Tue Aug 31 06:20:44 UTC 2004)


and a class definition of:

class TicTacToeState < DelegateClass(Board)

I get the following error messages:

Generating HTML...
Diagrams: ...........Error: dot/f_7.dot:99: syntax error near line 99
context: >>> DelegateClass( <<< Board) [
Error: dot/f_7.dot:99: syntax error near line 99
context: >>> DelegateClass( <<< Board) [
Unexpected output from dot:
default classes/DelegateClass(Board).html TopLevel

The reason is:

99 DelegateClass(Board) [
100 URL = "classes/DelegateClass(Board).html",
101 label = "DelegateClass(Board)"
102 ]
103


The commandline used was:

rdoc -a -d -S -m 'tictactoe.rb'


Brackets seem to be forbidden characters in node names. Maybe some
gsub(/[^A-Za-z0-9]/, '_') on the node names would help.

The whole file can be found at:

http://ruby.brian-schroeder.de/quiz/tictactoe/browse/tictactoe-alphabeta-rb.html

and the rest of the project files at:

http://ruby.brian-schroeder.de/quiz/tictactoe/

Best regards,

Brian
 

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

Members online

Forum statistics

Threads
473,755
Messages
2,569,535
Members
45,007
Latest member
obedient dusk

Latest Threads

Top