Closed paul closed 4 years ago
@TRex22 @BenjiWiebe I'll probably merge and release this weekend, but I wanted to see if you had any thoughts before I do.
Cool Ill look over now
@TRex22 The reason I chose puts
is because of the symmetry with other IO
-like object in Ruby. I don't know if we will, but it might be nice if you could supply an instance of ProgressBar in place of other things like $stdout
that expect to be able to puts
, and it wouldn't be too hard to add print
and write
, should the need arise.
Is this going to get rolled up into a release?
@ppkn I think I was waiting for feedback in the other PRs, then forgot all about it. I'll cut a new release today!
@ppkn done, released 1.3.2: https://rubygems.org/gems/progress_bar
Adds support to print messages without interfering with the output of the bar.
See README and
examples/printing_messages.rb
.