Download Firefox: WindowsMac OS X
logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

rdoc has issues with multi-line constant defs: msg#00006

Subject: rdoc has issues with multi-line constant defs
I'm investigating why I can't get any useful rdoc output for the HTTPClient 
library. (http://dev.ctor.org/http-access2)

I've created a test case that illustrates the problem I've found.  It appears 
that the rdoc program ignores documented methods when there is multiple-line 
constant definitions in the source-file.

With the attached test case, if I run rdoc on it as-is, I get no HTML 
documentation for the initialize() and get_content() functions.  However, if I 
remove the SSLEnabled and SSPIEnabled definitions, then rdoc will generate 
HTML documentation for initialize() and get_content().

Can anyone confirm this behavior?
Is this a bug in rdoc?  Or is there something wrong with the HTTPClient code?

Attachment: test.rb
Description: test.rb

<Prev in Thread] Current Thread [Next in Thread>