def padded_line(iteration, elapsed_time)
      meter_line = line(iteration, elapsed_time)
      pad_size = [@last_printed_length - meter_line.size, 0].max
      @last_printed_length = meter_line.size
      meter_line + ' ' * pad_size
    end
def padded_line(iteration, elapsed_time)
      meter_line = line(iteration, elapsed_time)
      pad_size = [@last_printed_length - meter_line.size, 0].max
      @last_printed_length = meter_line.size
      meter_line + ' ' * pad_size
    end
Initialize a new Printer.

 @param options [Hash] the options for the instantiating Tqdm::Decorator

 @see Tqdm::Decorator#initialize
 Pads a status line so that it is long enough to overwrite the previously written line

 @param iteration [Integer] number of iterations, out of the total, that are completed
 @param elapsed_time [Float] number of seconds passed since start
 @return [String] the padded line