[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

Re: another bug in rdoc?

Gavin Kistner

10/17/2006 1:18:00 PM

Wybo Dekker wrote:
> now if one runs rdoc on a file containing only the range of lines
> between =begin and =end, this generates html as expected. But anything
> other than a shebang line in front spoils this. In this case, the
> following text produces an empty html-page:

Do you consider this a bug? I consider it a feature. I like being able
to have random comment blocks (with =begin...=end or many lines of #)
in my files and not have them added to the RDoc output.

1 Answer

Wybo Dekker

10/17/2006 3:52:00 PM

0

Phrogz wrote:
> Wybo Dekker wrote:
>> now if one runs rdoc on a file containing only the range of lines
>> between =begin and =end, this generates html as expected. But anything
>> other than a shebang line in front spoils this. In this case, the
>> following text produces an empty html-page:
>
> Do you consider this a bug? I consider it a feature. I like being able
> to have random comment blocks (with =begin...=end or many lines of #)
> in my files and not have them added to the RDoc output.

Sure, but the text between

=begin rdoc

and

=end

should get in the Rdoc output. What else would these directives be
useful for??

--
Wybo