class RuboCop::Cop::Lint::PercentSymbolArray

def autocorrect(corrector, node)

def autocorrect(corrector, node)
  node.children.each do |child|
    range = child.loc.expression
    corrector.remove_trailing(range, 1) if range.source.end_with?(',')
    corrector.remove_leading(range, 1) if
      range.source.start_with?(':')
  end
end