Sha256: 3e4fcbf9324cdee98841ba7192e34ecaa6348e66dd8a3755a2434a236b1bba58
Contents?: true
Size: 644 Bytes
Versions: 18
Compression:
Stored size: 644 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<Hash>] 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
18 entries across 18 versions & 1 rubygems