From: Joel VanderWerf Date: 2005-07-12T06:43:56+09:00 Subject: Re: rdoc/attributes Lothar Scholz wrote: > Hello Patrick, > > > PG> [...] > > >>>$ rdoc -A documented_as_accessor=RW > > >>> def self.documented_as_accessor(*args); end > > >>> # Bar is very important >>> documented_as_accessor :bar > > > > PG> Yes, that rocks! Thanks Joel, > > Dammed, and it makes the life for tool writers much much harder. > I really hate this ruby hacks. So there is no standard way to generate > rdoc - this is far from good. Not everything that works is a well engineered > solution. Why do you care _how_ the rdoc is generated? Can't you let rdoc do its thing, generating to ri format, and load the resulting yaml? (Or maybe even use the rdoc api.) I probably don't understand what kind of tool functionality you have in mind.