Class: MarkdownFormatter

Inherits:
ArrayFormatter show all
Defined in:
lib/teuton/report/formatter/default/markdown.rb

Constant Summary

Constants inherited from ArrayFormatter

ArrayFormatter::MIN_HALL_OF_FAME

Instance Attribute Summary

Attributes inherited from BaseFormatter

#ext

Instance Method Summary collapse

Methods inherited from ArrayFormatter

#build_data

Methods inherited from BaseFormatter

#deinit, #init, #trim, #w

Constructor Details

#initialize(report) ⇒ MarkdownFormatter

Returns a new instance of MarkdownFormatter.



4
5
6
7
8
# File 'lib/teuton/report/formatter/default/markdown.rb', line 4

def initialize(report)
  super
  @ext = "md"
  @data = {}
end

Instance Method Details

#process(options = {}) ⇒ Object



10
11
12
13
14
15
16
17
18
# File 'lib/teuton/report/formatter/default/markdown.rb', line 10

def process(options = {})
  build_data(options)
  process_config
  process_logs
  process_groups
  process_results
  process_hof
  deinit
end