class RuboCop::Cop::Style::TrailingCommaInArguments

def on_send(node)

def on_send(node)
  return unless node.arguments? && node.parenthesized?
  check(node, node.arguments, 'parameter of %<article>s method call',
        node.last_argument.source_range.end_pos,
        node.source_range.end_pos)
end