lib/ruby-vpi/rcov.rb in ruby-vpi-12.1.0 vs lib/ruby-vpi/rcov.rb in ruby-vpi-13.0.0

- old
+ new

@@ -22,11 +22,11 @@ require 'rcov' # satisfy dependencies of 'rcov/report' require 'xx' - module XX + module XX # :nodoc: all module XMLish include Markup def xmlish_ *a, &b xx_which(XMLish){ xx_with_doc_in_effect(*a, &b)} @@ -51,11 +51,11 @@ COVERAGE_ANALYSIS_HANDLERS.each do |a| a.call COVERAGE_ANALYSIS end end - # Invokes the given block after code coverage analysis has completed. - def RubyVpi.with_coverage_analysis &aBlock # :yields: Rcov::CodeCoverageAnalyzer + # Invokes the given block, which yields COVERAGE_ANALYSIS, after code coverage analysis has completed. + def RubyVpi.with_coverage_analysis &aBlock # :nodoc: if aBlock COVERAGE_ANALYSIS_HANDLERS << aBlock end end end