class Rufo::Formatter
def visit_command_call(node)
def visit_command_call(node) # [:command_call, # receiver # :".", # name # [:args_add_block, [[:@int, "1", [1, 8]]], block]] _, receiver, dot, name, args = node visit receiver skip_space_or_newline # Remember dot column dot_column = @column consume_call_dot skip_space if newline? || comment? consume_end_of_line write_indent(next_indent) else skip_space_or_newline end visit name consume_space indent(@column) do visit args end # Only set it after we visit the call after the dot, # so we remember the outmost dot position @dot_column = dot_column end