module SimpleCov::Configuration
def at_exit(&block)
end
SimpleCov.result.format!
puts "Coverage done"
SimpleCov.at_exit do
Configure with:
By default, it will call SimpleCov.result.format!
Gets or sets the behavior to process coverage results.
def at_exit(&block) return Proc.new unless running || block_given? @at_exit = block if block_given? @at_exit ||= proc { SimpleCov.result.format! } end