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.40.1 lib/scss_lint/reporter.rb
scss_lint-0.40.0 lib/scss_lint/reporter.rb
scss_lint-0.39.0 lib/scss_lint/reporter.rb
scss_lint-0.38.0 lib/scss_lint/reporter.rb
scss-lint-0.38.0 lib/scss_lint/reporter.rb
scss-lint-bliss-1.0.0 lib/scss_lint/reporter.rb
scss-lint-0.37.0 lib/scss_lint/reporter.rb
scss-lint-0.36.1 lib/scss_lint/reporter.rb
scss-lint-0.36.0 lib/scss_lint/reporter.rb
scss-lint-0.35.0 lib/scss_lint/reporter.rb
scss-lint-0.34.0 lib/scss_lint/reporter.rb
scss-lint-0.33.0 lib/scss_lint/reporter.rb
scss-lint-0.32.0 lib/scss_lint/reporter.rb
scss-lint-0.31.0 lib/scss_lint/reporter.rb
scss-lint-0.30.0 lib/scss_lint/reporter.rb
scss-lint-0.29.0 lib/scss_lint/reporter.rb
scss-lint-0.28.0 lib/scss_lint/reporter.rb
scss-lint-0.27.0 lib/scss_lint/reporter.rb
scss-lint-0.26.2 lib/scss_lint/reporter.rb
scss-lint-0.26.1 lib/scss_lint/reporter.rb