From: "Brian Schröder" Date: 2004-12-14T09:21:49+09:00 Subject: rdoc bug DelegateClass(Other) 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 -- Brian Schr�der http://www.brian-schroeder.de/