class Covered::MarkdownSummary
def each(wrapper)
@parameter coverage [Covered::Coverage] The coverage object below the threshold.
@yields {|coverage| ...} Coverage whose ratio is below the configured threshold.
@parameter wrapper [Covered::Base] The coverage wrapper to enumerate.
Enumerate coverage below the threshold and return aggregate statistics.
def each(wrapper) statistics = Statistics.new wrapper.each do |coverage| statistics << coverage if @threshold.nil? or coverage.ratio < @threshold yield coverage end end return statistics end