# File lib/simplecov/configuration.rb, line 117 def at_exit(&block) return Proc.new {} unless running or block_given? @at_exit = block if block_given? @at_exit ||= Proc.new { SimpleCov.result.format! } end