Class: Crspec::Transpiler::Lint
- Inherits:
-
Struct
- Object
- Struct
- Crspec::Transpiler::Lint
- Defined in:
- lib/crspec/transpiler/rewriter.rb
Overview
Lint severities:
:error - construct is rejected by Crspec at load/run time
:warning - construct is concurrency-unsafe and needs manual review
:info - construct was auto-rewritten or is worth double-checking
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#line ⇒ Object
Returns the value of attribute line.
-
#message ⇒ Object
Returns the value of attribute message.
-
#severity ⇒ Object
Returns the value of attribute severity.
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code
11 12 13 |
# File 'lib/crspec/transpiler/rewriter.rb', line 11 def code @code end |
#line ⇒ Object
Returns the value of attribute line
11 12 13 |
# File 'lib/crspec/transpiler/rewriter.rb', line 11 def line @line end |
#message ⇒ Object
Returns the value of attribute message
11 12 13 |
# File 'lib/crspec/transpiler/rewriter.rb', line 11 def @message end |
#severity ⇒ Object
Returns the value of attribute severity
11 12 13 |
# File 'lib/crspec/transpiler/rewriter.rb', line 11 def severity @severity end |