Sha256: 8c4dbdfc2f50ea1ce3f602689d0bff69763fe9e0a296ff77f8dd66f2e579746b

Contents?: true

Size: 330 Bytes

Versions: 4

Compression:

Stored size: 330 Bytes

Contents

module SCSSLint
  class Lint
    attr_reader :filename, :line, :description, :severity

    def initialize(filename, line, description, severity = :warning)
      @filename = filename
      @line = line
      @description = description
      @severity = severity
    end

    def error?
      severity == :error
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
scss-lint-0.13.0 lib/scss_lint/lint.rb
scss-lint-0.12.1 lib/scss_lint/lint.rb
scss-lint-0.12.0 lib/scss_lint/lint.rb
scss-lint-0.11.1 lib/scss_lint/lint.rb