class RuboCop::Cop::Style::BisectedAttrAccessor

def correct_writer(corrector, macro, node, range)

def correct_writer(corrector, macro, node, range)
  if macro.all_bisected?
    corrector.remove(range)
  else
    correction = "attr_writer #{macro.rest.join(', ')}"
    corrector.replace(node, correction)
  end
end