Class: SCSSLint::Reporter

Inherits:
Object
  • Object
show all
Defined in:
lib/scss_lint/reporter.rb

Overview

Responsible for displaying lints to the user in some format.

Direct Known Subclasses

DefaultReporter, FilesReporter, XMLReporter

Defined Under Namespace

Classes: DefaultReporter, FilesReporter, XMLReporter

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(lints) ⇒ Reporter

Returns a new instance of Reporter



6
7
8
# File 'lib/scss_lint/reporter.rb', line 6

def initialize(lints)
  @lints = lints
end

Instance Attribute Details

#lintsObject (readonly)

Returns the value of attribute lints



4
5
6
# File 'lib/scss_lint/reporter.rb', line 4

def lints
  @lints
end

Instance Method Details

#report_lintsObject

Raises:

  • (NotImplementedError)


10
11
12
# File 'lib/scss_lint/reporter.rb', line 10

def report_lints
  raise NotImplementedError, 'You must implement report_lints'
end