Method: RuboCop::Cop::Offense#corrected?
- Defined in:
- lib/rubocop/cop/offense.rb
permalink #corrected? ⇒ Boolean (readonly)
Returns whether this offense is automatically corrected via autocorrect or a todo.
112 113 114 |
# File 'lib/rubocop/cop/offense.rb', line 112 def corrected? @status == :corrected || @status == :corrected_with_todo end |