jfelchner/ruby-progressbar — pull request #14 by L2G (2012-01-26 19:03:44+00:00)
Title: Exponential smoothing of ETA

I wanted to add some smoothing to the calculation of the ETA to take some of the jitter out of it. I had to do a little refactoring at the same time. The smoothing can be adjusted by setting the "smoothing" attribute to a number between 0.0 and 1.0 (I set the default to 0.9). Lower values make things smoother, and 1.0 is equivalent to no smoothing at all.