Method: RuboCop::Cop::Offense#corrected_with_todo?

Defined in:
lib/rubocop/cop/offense.rb

#corrected_with_todo?Boolean (readonly)

Returns whether this offense is automatically disabled via a todo.

Returns:

  • (Boolean)

    whether this offense is automatically disabled via a todo.

[View source]

122
123
124
# File 'lib/rubocop/cop/offense.rb', line 122

def corrected_with_todo?
  @status == :corrected_with_todo
end