struct
Ameba::Issue
- Ameba::Issue
- Struct
- Value
- Object
Overview
Represents an issue reported by Ameba.
Defined in:
ameba/issue.crConstructors
Instance Method Summary
- #clone
- #copy_with(rule _rule = @rule, location _location = @location, end_location _end_location = @end_location, message _message = @message, status _status = @status)
- #disabled?
-
#end_location : Crystal::Location | Nil
End location of the issue.
-
#location : Crystal::Location | Nil
Location of the issue.
-
#message : String
Issue message.
-
#rule : Rule::Base
A rule that triggers this issue.
-
#status : Symbol | Nil
Issue status.
- #syntax?
Constructor Detail
def self.new(rule : Rule::Base, location : Crystal::Location | Nil, end_location : Crystal::Location | Nil, message : String, status : Symbol | Nil)
#
Instance Method Detail
def copy_with(rule _rule = @rule, location _location = @location, end_location _end_location = @end_location, message _message = @message, status _status = @status)
#