Sha256: ee9763472c309fad2789381b1ba2959de7d12edc349f1972ab79e2f76c505259

Contents?: true

Size: 387 Bytes

Versions: 25

Compression:

Stored size: 387 Bytes

Contents

module SCSSLint
  # Responsible for displaying lints to the user in some format.
  class Reporter
    attr_reader :lints

    def self.descendants
      ObjectSpace.each_object(Class).select { |klass| klass < self }
    end

    def initialize(lints)
      @lints = lints
    end

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

Version data entries

25 entries across 25 versions & 3 rubygems

Version Path
scss-lint-0.26.0 lib/scss_lint/reporter.rb
scss-lint-0.25.1 lib/scss_lint/reporter.rb
scss-lint-0.25.0 lib/scss_lint/reporter.rb
scss-lint-0.24.1 lib/scss_lint/reporter.rb
scss-lint-0.24.0 lib/scss_lint/reporter.rb