struct

Hwaro::Content::FrontMatterSchema::Violation

Inherits Struct < Value < Object

One problem with one field of one page. line is the key's line in the file when it is there to point at (nil for a missing field, or a [[content.generate]] page, which has no file).

Constructors

new(file : String, line : Int32 | Nil, field : String, message : String)
Source

Instance methods

clone
Source
copy_with(file _file = @file, line _line = @line, field _field = @field, message _message = @message)
Source
field
file
line
message
to_s(io : IO) : Nil

Same as #inspect(io).

Source