The postgres.c file I'm documenting how has three class methods all
pointing to the same method:
rb_define_singleton_method(rb_cPGconn, "connect", pgconn_s_connect,
-1);
rb_define_singleton_method(rb_cPGconn, "setdb", pgconn_s_connect, -1);
rb_define_singleton_method(rb_cPGconn, "setdblogin",
pgconn_s_connect, -1);
It looks like RDoc understands and ignores
rb_define_alias
but this is a case that it doesn't handle.
(The result is that three copies of the documentation for
pgconn_s_connect are output, one for each of 'connect', 'setdb', and
'setdblogin', each placed alphabetically where they would normally.)
Is there a way I can tell RDoc to merge these and link all three
occurrences to the same location?
--
(-, /\ \/ / /\/
|