Class: RailroadDiagrams::Transform::Lint::Warning
- Inherits:
-
Struct
- Object
- Struct
- RailroadDiagrams::Transform::Lint::Warning
- Defined in:
- lib/railroad_diagrams/transform/lint.rb
Overview
A lint result with kind, rule, name, and message fields.
Instance Attribute Summary collapse
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#message ⇒ Object
Returns the value of attribute message.
-
#name ⇒ Object
Returns the value of attribute name.
-
#rule ⇒ Object
Returns the value of attribute rule.
Instance Attribute Details
#kind ⇒ Object
Returns the value of attribute kind
12 13 14 |
# File 'lib/railroad_diagrams/transform/lint.rb', line 12 def kind @kind end |
#message ⇒ Object
Returns the value of attribute message
12 13 14 |
# File 'lib/railroad_diagrams/transform/lint.rb', line 12 def @message end |
#name ⇒ Object
Returns the value of attribute name
12 13 14 |
# File 'lib/railroad_diagrams/transform/lint.rb', line 12 def name @name end |
#rule ⇒ Object
Returns the value of attribute rule
12 13 14 |
# File 'lib/railroad_diagrams/transform/lint.rb', line 12 def rule @rule end |