Class: SCSSLint::Reporter
- Inherits:
-
Object
- Object
- SCSSLint::Reporter
- Defined in:
- lib/scss_lint/reporter.rb
Overview
Responsible for displaying lints to the user in some format.
Direct Known Subclasses
Defined Under Namespace
Classes: DefaultReporter, FilesReporter, XMLReporter
Instance Attribute Summary collapse
-
#lints ⇒ Object
readonly
Returns the value of attribute lints.
Instance Method Summary collapse
-
#initialize(lints) ⇒ Reporter
constructor
A new instance of Reporter.
- #report_lints ⇒ Object
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
#lints ⇒ Object (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_lints ⇒ Object
10 11 12 |
# File 'lib/scss_lint/reporter.rb', line 10 def report_lints raise NotImplementedError, 'You must implement report_lints' end |