lib/scss_lint/lint.rb in scss-lint-0.22.0 vs lib/scss_lint/lint.rb in scss-lint-0.23.0
- old
+ new
@@ -1,16 +1,16 @@
module SCSSLint
# Stores information about a single problem that was detected by a [Linter].
class Lint
- attr_reader :filename, :line, :description, :severity
+ attr_reader :filename, :location, :description, :severity
# @param filename [String]
- # @param line [Integer]
+ # @param location [SCSSLint::Location]
# @param description [String]
# @param severity [Symbol]
- def initialize(filename, line, description, severity = :warning)
+ def initialize(filename, location, description, severity = :warning)
@filename = filename
- @line = line
+ @location = location
@description = description
@severity = severity
end
# @return [Boolean]