Class: Steep::Diagnostic::Ruby::RedundantIgnoreComment
- Defined in:
- lib/steep/diagnostic/ruby.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
- #header_line ⇒ Object
-
#initialize(location:) ⇒ RedundantIgnoreComment
constructor
A new instance of RedundantIgnoreComment.
Methods inherited from Base
#detail_lines, #diagnostic_code
Methods included from Helper
Constructor Details
#initialize(location:) ⇒ RedundantIgnoreComment
Returns a new instance of RedundantIgnoreComment.
988 989 990 |
# File 'lib/steep/diagnostic/ruby.rb', line 988 def initialize(location:) super(node: nil, location: location) end |
Instance Method Details
#header_line ⇒ Object
992 993 994 |
# File 'lib/steep/diagnostic/ruby.rb', line 992 def header_line "Redundant ignore comment" end |