class Covered::Summary

def call(wrapper, output = $stdout, **options)

@parameter options [Hash] Options forwarded to {print_coverage}.
@parameter output [IO] The output stream.
@parameter wrapper [Covered::Base] The coverage wrapper to report.
A coverage array gives, for each line, the number of line executions by the interpreter. A `nil` value means coverage is finished for this line (lines like `else` and `end`).
Print the detailed coverage report.
def call(wrapper, output = $stdout, **options)
	terminal = self.terminal(output)
	
	statistics = self.each(wrapper) do |coverage|
		path = wrapper.relative_path(coverage.path)
		terminal.puts ""
		terminal.puts path, style: :path
		
		begin
			print_coverage(terminal, coverage, **options)
		rescue => error
			print_error(terminal, error)
		end
		
		coverage.print(output)
	end
	
	terminal.puts
	statistics.print(output)
end