Google

def write( output, indent=-1 ) output << (' '*indent) if indent > 0 output << to_s end