[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

rdoc comments

Michael Neumann

11/30/2004 12:23:00 AM

Hi,

When I generate rdoc-output for:

#------------------------------------------------------------
# :section: Decoration-related methods
#------------------------------------------------------------

it creates horizontal rules. Is there a way to avoid this? Something like:

##-----------------
# ....
##-----------------

where a double '#' is a comment from rdoc.

Regards.

Michael


5 Answers

Dave Thomas

11/30/2004 1:26:00 AM

0


On Nov 29, 2004, at 18:23, Michael Neumann wrote:

> #------------------------------------------------------------
> # :section: Decoration-related methods
> #------------------------------------------------------------
>

Could you get away with

# - - - - - - - - - - - - - - -

or

# -==================-

Cheers

Dave



Dave Thomas

11/30/2004 1:26:00 AM

0


On Nov 29, 2004, at 18:23, Michael Neumann wrote:
> #------------------------------------------------------------
> # :section: Decoration-related methods
> #------------------------------------------------------------

btw: how are sections working out for you? Do you have any examples
online?


Cheers

Dave



Michael Neumann

11/30/2004 10:20:00 AM

0

Dave Thomas wrote:
>
> On Nov 29, 2004, at 18:23, Michael Neumann wrote:
>
>> #------------------------------------------------------------
>> # :section: Decoration-related methods
>> #------------------------------------------------------------
>>
>
> Could you get away with
>
> # - - - - - - - - - - - - - - -

that would be fine!

Regards,

Michael


Michael Neumann

11/30/2004 10:25:00 AM

0

Dave Thomas wrote:
>
> On Nov 29, 2004, at 18:23, Michael Neumann wrote:
>
>> #------------------------------------------------------------
>> # :section: Decoration-related methods
>> #------------------------------------------------------------
>
>
> btw: how are sections working out for you? Do you have any examples
> online?

I like them. Not sure whether I'll use them extensively.

http://ntecs.de/viewcv...*checkout*/Wee/trunk/doc/rdoc/classes/Wee/Component.html#SEC00044

Regards,

Michael


Its Me

12/1/2004 12:13:00 AM

0

> > #------------------------------------------------------------
> > # :section: Decoration-related methods
> > #------------------------------------------------------------
>
> btw: how are sections working out for you? Do you have any examples
> online?

begin # Decoration-related methods
def f1
def f2
end

If you gotta say it, say it in the code as much as possible ?