Class: SasLinter::Finding
- Inherits:
-
Struct
- Object
- Struct
- SasLinter::Finding
- Defined in:
- lib/sas_linter.rb
Instance Attribute Summary collapse
-
#column ⇒ Object
Returns the value of attribute column.
-
#line ⇒ Object
Returns the value of attribute line.
-
#message ⇒ Object
Returns the value of attribute message.
-
#path ⇒ Object
Returns the value of attribute path.
-
#rule ⇒ Object
Returns the value of attribute rule.
-
#severity ⇒ Object
Returns the value of attribute severity.
Instance Method Summary collapse
Instance Attribute Details
#column ⇒ Object
Returns the value of attribute column
18 19 20 |
# File 'lib/sas_linter.rb', line 18 def column @column end |
#line ⇒ Object
Returns the value of attribute line
18 19 20 |
# File 'lib/sas_linter.rb', line 18 def line @line end |
#message ⇒ Object
Returns the value of attribute message
18 19 20 |
# File 'lib/sas_linter.rb', line 18 def @message end |
#path ⇒ Object
Returns the value of attribute path
18 19 20 |
# File 'lib/sas_linter.rb', line 18 def path @path end |
#rule ⇒ Object
Returns the value of attribute rule
18 19 20 |
# File 'lib/sas_linter.rb', line 18 def rule @rule end |
#severity ⇒ Object
Returns the value of attribute severity
18 19 20 |
# File 'lib/sas_linter.rb', line 18 def severity @severity end |
Instance Method Details
#to_s ⇒ Object
19 20 21 |
# File 'lib/sas_linter.rb', line 19 def to_s "#{path}:#{line}:#{column}: [#{rule}] #{}" end |