Joel VanderWerf
7/11/2005 9:44:00 PM
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.