Class: Yamlint::Output::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/yamlint/output/base.rb

Direct Known Subclasses

Colored, Github, Parsable, Standard

Instance Method Summary collapse

Instance Method Details

#format(filepath, problems) ⇒ Object

Raises:

  • (NotImplementedError)


6
7
8
# File 'lib/yamlint/output/base.rb', line 6

def format(filepath, problems)
  raise NotImplementedError, "#{self.class}#format must be implemented"
end

#format_summary(total_files, total_problems) ⇒ Object

Raises:

  • (NotImplementedError)


10
11
12
# File 'lib/yamlint/output/base.rb', line 10

def format_summary(total_files, total_problems)
  raise NotImplementedError, "#{self.class}#format_summary must be implemented"
end