Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 Yard 生成文档,但即使我运行了yardoc --private,它也没有在源代码中显示私有方法的文档。
yardoc --private
怎么了?
我已经想通了。即使您使用 生成了文档yardoc --private,也必须在文件中添加--private行.yardopts才能显示。
--private
.yardopts