Class: Evilution::Reporter::CLI::ItemFormatters::CoverageGap Private

Inherits:
Object
  • Object
show all
Defined in:
lib/evilution/reporter/cli/item_formatters/coverage_gap.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Instance Method Details

#format(gap) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



6
7
8
9
# File 'lib/evilution/reporter/cli/item_formatters/coverage_gap.rb', line 6

def format(gap)
  location = "#{gap.file_path}:#{gap.line}"
  "#{format_header(gap, location)}\n#{format_body(gap)}"
end