From: Anders Borch Date: 2003-05-30T06:23:44+09:00 Subject: Re: extending rdoc for custom accessors Dave Thomas wrote: > Joel VanderWerf wrote: > >> Maybe someday there could be an option to set the letters, like "R", >> "W", "RW", in place of the "?" that shows up now. I'd like to use >> custom letters, in fact. But being able to list the accessors with >> comment text is the main thing. > > > Your wish... > > In the latest CVS, you can now say > > rdoc --accessor option=ro,param=set fred.rb > > > If fred.rb contains > > option :field1 > param :field2, :field 3 > attr_reader :field4 > > It'll be documented as > > field1: [ro] > field2: [set] > field3: [set] > field4: [r] > > > Cheers > > > Dave > > > WOW!! Very quick response from a OSS author! Very impressive! Two new features added by request each within 8 hours of being requested! I'll go and check out the newest version asap. Dave, you rox! /Anders -- dc -e 4dd*od3*dddn1-89danrn10-dan3+ann6*dan*2*an13dn1+dn2-dn3+5*ddan2/9+an13nap