Group: comp.lang.ruby
From: Serg Koren
Date: Friday, February 15, 2008 1:45 PM
Subject: Proper way to RDoc markup?

Hi,

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.

Thanks


Safety Articles | Usenet Groups | Usenet News | Bluegrass