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.
Why isn't yard showing private methods in rails projects?
-
30-06-2022 - |
Domanda
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?
Soluzione
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow