-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mauricio Fernandez wrote: > require 'rcov' > require 'rbconfig' > > # try to load xx, but don't give up if it's not available > begin > require 'xx' > rescue LoadError > end > begin > require 'rcov/report' > rescue NameError > # hack to make textual reports work in the absence of xx-0.1.0 > # Rcov::HTMLCoverage cannot be used without it though > end > > rcov_analyzer = Rcov::CodeCoverageAnalyzer.new > at_exit do > rcov_analyzer.remove_hook > rcov_analyzer.dump_coverage_info([Rcov::TextReport.new]) > # use Rcov::HTMLCoverage above to generate HTML reports; the formatters admit > # a number of options, listed in rcov's RDoc documentation. > end > rcov_analyzer.install_hook I can't find Rcov::CodeCoverageAnalyzer#dump_coverage_info, Rcov::HTMLCoverage, or Rcov::TextReport in the RDoc shipped with rcov 0.7.0.1 Aren't these internal structures undocumented because they shouldn't be used by outsiders? Thanks for your attention. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFFAZ/EmV9O7RYnKMcRAsMKAKCAeme9tvUFN7g+7mYSLT45c6T3hACggLP8 xW150lZhoHpM0vTbA5ldaPA= =lVQA -----END PGP SIGNATURE-----