Group: comp.lang.ruby
From: Serg Koren
Date: Friday, February 15, 2008 2:30 PM
Subject: Re: Proper way to RDoc markup? not quite

Not quite what i wanted. I wanted to capture inline comments. i know
that I can capture standalone line comments.

Thanks though.

On Feb 15, 2008, at 3:06 PM, Jari Williamsson wrote:

> Serg Koren wrote:
>> I can't figure this out. Is there a way to inline markup an
>> accessor for Rdoc?
>> That is:
>> def x
>> attr_accessor :x # this is an X comment
>> attr_reader :y # this is a Y comment
>> end
>> I want the inline comments to show up in the Rdoc as part of the
>> attribute documentation.
>
> # this is an X comment
> attr_accessor :x
> # this is a Y comment
> attr_reader :y
>
>
> Best regards,
>
> Jari Williamsson
>


Safety Articles | Usenet Groups | Usenet News | Bluegrass