class Rufo::Formatter
def visit_args_add_star(node)
def visit_args_add_star(node) # [:args_add_star, args, star, post_args] _, args, star, *post_args = node if newline? || comment? needs_indent = true base_column = next_indent else base_column = @column end if !args.empty? && args[0] == :args_add_star # arg1, ..., *star visit args elsif !args.empty? visit_comma_separated_list args else consume_end_of_line if needs_indent end skip_space write_params_comma if comma? write_indent(base_column) if needs_indent consume_op "*" skip_space_or_newline visit star if post_args && !post_args.empty? write_params_comma visit_comma_separated_list post_args, needs_indent: needs_indent, base_column: base_column end end