Any hooks in rdoc?

Hello !

I’m currently writing a “not so small anymore” project involving a
fair deal of metaprogramming, and I would have liked rdoc to reflect a
bit better the state of my classes. Is there any way to have rdoc
understand a statement like

param_accessor :size, ‘size’, “Size”, {:type => :integer}, “The size
?”

I would want rdoc to display something close to what it would for

The size ?

attr_accessor :size

but I don’t have a clue about how to do it. I tried the --accessor
option, but it treats :size, ‘size’, “Size” and so on each as different
attributes, which is not acceptable in my case/

Any hint ? Thanks !

Vince

On Nov 10, 2006, at 11:55 AM, Vincent F. wrote:

Any hint ? Thanks !
There isn’t one, sorry. :frowning:


Eric H. - [email protected] - http://blog.segment7.net
This implementation is HODEL-HASH-9600 compliant

http://trackmap.robotcoop.com

Eric H. wrote:

Any hint ? Thanks !

There isn’t one, sorry. :frowning:

Pity. Do you think it would be possible to add such a thing without
disturbing rdoc too much ? Would anyone be interested ? I could give it
a try, then.

Cheers,

Vince

On Nov 15, 2006, at 12:26 AM, Vincent F. wrote:

Eric H. wrote:

Any hint ? Thanks !

There isn’t one, sorry. :frowning:

Pity. Do you think it would be possible to add such a thing without
disturbing rdoc too much ? Would anyone be interested ? I could
give it
a try, then.

It is a frequently requested feature, go for it.


Eric H. - [email protected] - http://blog.segment7.net
This implementation is HODEL-HASH-9600 compliant

http://trackmap.robotcoop.com

On 11/15/06, Vincent F. [email protected] wrote:

Eric H. wrote:

Any hint ? Thanks !

There isn’t one, sorry. :frowning:

Pity. Do you think it would be possible to add such a thing without
disturbing rdoc too much ? Would anyone be interested ? I could give it
a try, then.

This would be excellent, if someone could swing it.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs