IO.flush « File Directory « Ruby






1.write strings to the stream (buffer) with the << method, then flush the buffer with flush.