Class: Moku6::Offense
- Inherits:
-
Struct
- Object
- Struct
- Moku6::Offense
- Defined in:
- lib/moku6/offense.rb
Overview
keyword_init is required on Ruby 3.1 (required_ruby_version >= 3.1.0).
Instance Attribute Summary collapse
-
#action ⇒ Object
Returns the value of attribute action.
-
#file ⇒ Object
Returns the value of attribute file.
-
#message ⇒ Object
Returns the value of attribute message.
-
#rule ⇒ Object
Returns the value of attribute rule.
-
#severity ⇒ Object
Returns the value of attribute severity.
Instance Attribute Details
#action ⇒ Object
Returns the value of attribute action
5 6 7 |
# File 'lib/moku6/offense.rb', line 5 def action @action end |
#file ⇒ Object
Returns the value of attribute file
5 6 7 |
# File 'lib/moku6/offense.rb', line 5 def file @file end |
#message ⇒ Object
Returns the value of attribute message
5 6 7 |
# File 'lib/moku6/offense.rb', line 5 def @message end |
#rule ⇒ Object
Returns the value of attribute rule
5 6 7 |
# File 'lib/moku6/offense.rb', line 5 def rule @rule end |
#severity ⇒ Object
Returns the value of attribute severity
5 6 7 |
# File 'lib/moku6/offense.rb', line 5 def severity @severity end |