Method: Inspec::Formatters::Base#dump_summary
- Defined in:
- lib/inspec/formatters/base.rb
#dump_summary(summary) ⇒ Object
RSpec Override: #dump_summary
Supply run summary data, such as the InSpec version and the total duration.
22 23 24 25 26 27 28 |
# File 'lib/inspec/formatters/base.rb', line 22 def dump_summary(summary) run_data[:version] = Inspec::VERSION run_data[:statistics] = { duration: summary.duration, controls: statistics, } end |