snacktime
9/22/2006 7:32:00 PM
I'm trying to figure out the best way to have docs for a c extension
generated when a gem is installed. Ideally I'd like to document the
methods in modname.rb, but I can't because if I define the methods in
modname.rb they will override the c functions. If I document the c
source, which is what I'm doing now, I'm not sure how to make my gem
automatically generate the rdoc from the c source. Also, rdoc doesn't
doesn't pick up the parameter names in a c function, it just calls
them p1,p2,p3,etc..
Chris