Method: TestProf::TagProf::Printers::HTML.dump

Defined in:
lib/test_prof/tag_prof/printers/html.rb

.dump(result) ⇒ Object



12
13
14
15
16
17
18
19
20
# File 'lib/test_prof/tag_prof/printers/html.rb', line 12

def dump(result)
  path = TestProf::Utils::HTMLBuilder.generate(
    data: result,
    template: TEMPLATE,
    output: OUTPUT_NAME
  )

  log :info, "TagProf report generated: #{path}"
end