class RuboCop::Cop::Lint::UnneededDisable
def describe(cop)
def describe(cop) if cop == 'all' 'all cops' elsif all_cop_names.include?(cop) "`#{cop}`" else similar = find_similar_name(cop, []) if similar "`#{cop}` (did you mean `#{similar}`?)" else "`#{cop}` (unknown cop)" end end end