class Rufo::Formatter
def visit_mlhs_add_star(node)
def visit_mlhs_add_star(node) # [:mlhs_add_star, before, star, after] _, before, star, after = node if before && !before.empty? # Maybe a Ripper bug, but if there's something before a star # then a star shouldn't be here... but if it is... handle it # somehow... if current_token_kind == :on_op && current_token_value == "*" star = before else visit_comma_separated_list to_ary(before) write_params_comma end end consume_op "*" if star skip_space_or_newline visit star end if after && !after.empty? write_params_comma visit_comma_separated_list after end end