rdoc putting private method in list of instance methods?

T

Toby DiPasquale

Hi all,

I'm writing an extension to Ruby with both C and Ruby sources. In the C
sources, I call this:

rb_define_private_method( cEpoll, "control", rb_epoll_control, 3);

However, this method still gets an entry in the RDoc documentation. How
can I tell RDoc to ignore private methods? Also, how can I tell it to
ignore constants and attributes? Thanks.

Versions:

ruby 1.8.3 (2005-09-21) [x86_64-linux]
RDoc V1.0.1 - 20041108

P.S. /* :nodoc: */ both above and on the same line didn't work.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,014
Latest member
BiancaFix3

Latest Threads

Top