Method: InspecRspecMiniJson#dump_summary
- Defined in:
- lib/inspec/rspec_json_formatter.rb
#dump_summary(summary) ⇒ Object
Called after stop has been called and the run is complete.
38 39 40 41 42 43 |
# File 'lib/inspec/rspec_json_formatter.rb', line 38 def dump_summary(summary) @output_hash[:version] = Inspec::VERSION @output_hash[:statistics] = { duration: summary.duration, } end |