Class: SCSSLint::Reporter

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

Direct Known Subclasses

DefaultReporter, XMLReporter

Defined Under Namespace

Classes: DefaultReporter, XMLReporter

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(lints) ⇒ Reporter

Returns a new instance of Reporter.



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

def initialize(lints)
  @lints = lints
end

Instance Attribute Details

#lintsObject (readonly)

Returns the value of attribute lints.



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

def lints
  @lints
end

Instance Method Details

#report_lintsObject

Raises:

  • (NotImplementedError)


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

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