class RDoc::Checker

RDoc::Checker collects documentation quality check warnings during RDoc execution. Warnings are reported at the end and cause a non-zero exit status.

Example usage:

RDoc::Checker.add("Missing reference", file: "lib/foo.rb", line: 42)

At the end of rdoc execution, if any warnings were added, they will be printed and the process will exit with status 1.