123456789_123456789_123456789_123456789_123456789_

Module: SimpleCov::Formatter::MultiFormatter::InstanceMethods

Relationships & Source Files
Defined in: lib/simplecov/formatter/multi_formatter.rb

Instance Method Summary

Instance Method Details

#format(result)

[ GitHub ]

  
# File 'lib/simplecov/formatter/multi_formatter.rb', line 7

def format(result)
  formatters.map do |formatter|
    formatter.new.format(result)
  rescue StandardError => e
    warn("Formatter #{formatter} failed with #{e.class}: #{e.message} (#{e.backtrace.first})")
    nil
  end
end