I am generating documentation with Yard, but even when I've run yardoc --private, it is not showing documentation for private methods in the source.

What is wrong?

有帮助吗?

解决方案

I have figured it out. Even if you generated the documentation with yardoc --private, you have to add --private line into the .yardopts file for it to show.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top