I'm a ruby newbie, and I was wondering why there was no html generated documentation for the public_methods
method defined in class.c
in RMI.
The rdoc comments seem to be present in the class.c file, but there's no trace of them in the html output.
The same thing happens to me locally when I generate the html with rvm docs generate
.
It's not only an issue for public_methods
but also for methods
, protected_methods
, private_methods
, singleton_methods
, basically all the methods that have obj.
in the rdoc comment.
Are those methods deprecated by any chance?
Hi! I run ruby-doc.org. This appears to be a bug in the Ruby source code. This method (and a few others) show up in the docs for Ruby 2.0 but not 1.9.3. Comparing the
object.c
files I found that the 1.9.3 version is missing comments indicating where the methods are defined (i.e./* in class.c */
). Without that rdoc cannot locate the method def and apparently does not include it in the output.