Sha256: b941237449db716e351322793692860851c183299b30981fe23f807e58088bb8
Contents?: true
Size: 570 Bytes
Versions: 7
Compression:
Stored size: 570 Bytes
Contents
module SCSSLint # Stores information about a single problem that was detected by a [Linter]. class Lint attr_reader :filename, :line, :description, :severity # @param filename [String] # @param line [Integer] # @param description [String] # @param severity [Symbol] def initialize(filename, line, description, severity = :warning) @filename = filename @line = line @description = description @severity = severity end # @return [Boolean] def error? severity == :error end end end
Version data entries
7 entries across 7 versions & 1 rubygems