struct Ameba::Issue
 
  - Ameba::Issue
 - Struct
 - Value
 - Object
 
Overview
Represents an issue reported by Ameba.
Defined in:
ameba/issue.crConstructors
Instance Method Summary
- 
        #code : String
        
          
The source code that triggered this issue.
 - #correct(corrector)
 - #correctable?
 - #disabled?(*args, **options)
 - #disabled?(*args, **options, &)
 - #enabled?(*args, **options)
 - #enabled?(*args, **options, &)
 - 
        #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 : Status
        
          
Issue status.
 - #syntax?
 
Constructor Detail
        
        def self.new(code : String, rule : Ameba::Rule::Base, location : Nil | Crystal::Location, end_location : Nil | Crystal::Location, message : String, status : Status | Nil = nil, block : Source::Corrector ->  | Nil = nil)
        #