module RuboCop::AST::ParameterizedNode::RestArguments

def last_argument

Returns:
  • (Node, nil) - the last argument of the node,
def last_argument
  children[-1] if arguments?
end