From: Eric Hodel Date: 2009-02-26T04:33:32+09:00 Subject: Re: [ANN] rdoc 2.4.0 Released On Feb 25, 2009, at 11:17, Joel VanderWerf wrote: > Eric Hodel wrote: >> Would adding a :attr: directive be an acceptable alternative? This >> would allow the documentation to be rendered as intended without a >> command line flag. > > The effect of the :attr: directive would be that any invocation of > the specified class method was to be treated as an attr? Could a tag > ("R" etc.) be specified along with the class method? Yes, I think: # :attr_reader: method_name will be clearer than having R/W/RW in case the attr isn't visible to RDoc for some reason. > And would the new rdoc still automatically recognize "attr_*" as > attrs, without the explicit directive? Sounds great to me, but it > would be good to hear from more library maintainers. Yes.