Class: CukeLinter::PrettyFormatter

Inherits:
Object
  • Object
show all
Defined in:
lib/cuke_linter/formatters/pretty_formatter.rb

Overview

Formats linting data into organized, user readable text

Instance Method Summary collapse

Instance Method Details

#format(data) ⇒ Object

Formats the given linting data



7
8
9
# File 'lib/cuke_linter/formatters/pretty_formatter.rb', line 7

def format(data)
  format_data(categorize_problems(data), data.count)
end