Sha256: 38b1991093244d714fd2d7e43785d8b3cdb22b831f53a29b5aa1554eaf4fe9eb
Contents?: true
Size: 646 Bytes
Versions: 4
Compression:
Stored size: 646 Bytes
Contents
module SCSSLint # Responsible for displaying lints to the user in some format. class Reporter attr_reader :lints, :files, :log def self.descendants ObjectSpace.each_object(Class).select { |klass| klass < self } end # @param lints [List<Lint>] a list of Lints sorted by file and line number # @param files [List<String>] a list of the files that were linted # @param logger [SCSSLint::Logger] def initialize(lints, files, logger) @lints = lints @files = files @log = logger end def report_lints raise NotImplementedError, 'You must implement report_lints' end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
scss_lint-0.47.0 | lib/scss_lint/reporter.rb |
scss_lint-0.46.0 | lib/scss_lint/reporter.rb |
scss_lint-0.45.0 | lib/scss_lint/reporter.rb |
scss_lint-0.44.0 | lib/scss_lint/reporter.rb |