David Vallner
8/28/2006 6:28:00 PM
Henry Savr wrote:
> Playing with rdoc, I found, that it works ONLY for =begin/=end rdoc
> block. More, if the file starts from regular comment #, even the block
> =begin/=end does not work.
> Please, help
Couldn't reproduce the problem.
The script
> #!ruby
>
> #= Usage
> #
> #<tt>hello.rb</tt>
> #
> #This script outputs "Goodbye, cruel world!" to standard output.
> #
> #== Parameters
> #
> # None
> #
>
> puts "Goodbye, cruel world!"
gives me correct HTML rdoc output.
I couldn't get =begin/=end comments to work, I don't even know if rdoc
supports those - it might rely on indentation of the # signs or
something like that.
David Vallner