Class: Undercover::UndercoverSimplecovFormatter

Inherits:
SimpleCov::Formatter::JSONFormatter
  • Object
show all
Defined in:
lib/undercover/simplecov_formatter.rb

Class Attribute Summary collapse

Instance Method Summary collapse

Class Attribute Details

.output_filenameObject

Returns the value of attribute output_filename.



98
99
100
# File 'lib/undercover/simplecov_formatter.rb', line 98

def output_filename
  @output_filename
end

Instance Method Details

#format_result(result) ⇒ Object



101
102
103
104
# File 'lib/undercover/simplecov_formatter.rb', line 101

def format_result(result)
  result_hash_formater = ResultHashFormatterWithRoot.new(result)
  result_hash_formater.format
end