Ameba::Formatter::ExplainFormatter
Inherits Ameba::Formatter::Util < Reference < Object
A formatter that shows the detailed explanation of the issue at a specific location.
Constructors
Creates a new instance of ExplainFormatter.
Accepts output which indicates the IO where the explanation will be written to.
Second argument is location which indicates the location to explain.
ExplainFormatter.new output, {
file: path,
line: line_number,
column: column_number,
}
Instance methods
location
Sourceoutput
Source