Hwaro::Services::Issue
Inherits JSON::Serializable < Struct < Value < Object
Represents a single diagnostic issue found by the doctor
language is set only by the translation check and line only by the
front-matter schema check (being nil everywhere else, both are omitted
from every other issue's JSON).
Constructors
new(id : String, level : Symbol, category : String, file : String | Nil, message : String, language : String | Nil = nil, line : Int32 | Nil = nil)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
category
clone
Sourcecopy_with(id _id = @id, level _level = @level, category _category = @category, file _file = @file, message _message = @message, language _language = @language, line _line = @line)
Sourcefile
id
language
level
Sourceline
message