G
Gavin Sinclair
That's where we differ, and why RDoc distinguishes between attr and
regular method definitions. It isn't just a macro facility: it's an
expression of intent.
I agree with this; I like (on balance) seeing attributes documented
separately; and I would like to see an :attr: directive introduced.
But there's one problem as I see it at the moment: attributes don't
appear in the method pane. This sometimes incurs difficulties: try to
find a method (you don't know what class) in a large body of
documentation, only to discover it's an attribute.
Gavin