lib/ruby-vpi/rcov.rb in ruby-vpi-7.3.0 vs lib/ruby-vpi/rcov.rb in ruby-vpi-8.0.0

- old
+ new

@@ -37,11 +37,11 @@ require 'cgi' require 'rcov/report' -module RubyVPI +module RubyVpi COVERAGE_ANALYSIS = Rcov::CodeCoverageAnalyzer.new COVERAGE_ANALYSIS.install_hook COVERAGE_ANALYSIS_HANDLERS = [] @@ -52,10 +52,10 @@ 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 + def RubyVpi.with_coverage_analysis &aBlock # :yields: Rcov::CodeCoverageAnalyzer if aBlock COVERAGE_ANALYSIS_HANDLERS << aBlock end end end