Class: TXTFormatter

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

Direct Known Subclasses

ColoredTextFormatter

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, colorize = false) ⇒ TXTFormatter

Returns a new instance of TXTFormatter.



6
7
8
9
10
11
# File 'lib/teuton/report/formatter/default/txt.rb', line 6

def initialize(report, colorize = false)
  @colorize = colorize
  super(report)
  @ext = "txt"
  @data = {}
end

Instance Method Details

#process(options = {}) ⇒ Object



13
14
15
16
17
18
19
20
21
# File 'lib/teuton/report/formatter/default/txt.rb', line 13

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