paul / progress_bar

A Ruby terminal progress_bar
Do What The F*ck You Want To Public License
623 stars 49 forks source link

Fixed use of unqualified Time class #58

Closed paul closed 3 years ago

paul commented 3 years ago

It seems if you have another progress bar gem installed[1], the also use the ProgressBar namespace and declare a Time class within that namespace. If I use the unqualified Time instead of ::Time, then that other one gets picked up and doesn't work.

Fixes #57

1: https://github.com/jfelchner/ruby-progressbar/blob/master/lib/ruby-progressbar/time.rb

harryloewen commented 3 years ago

Thanks @paul 💯

paul commented 3 years ago

Released 1.3.3