Home

Awesome

Ruby/ProgressBar

<div align="center"> <a href="https://rubygems.org/gems/ruby-progressbar" alt="RubyGems Version"> <img src="https://img.shields.io/gem/v/ruby-progressbar.svg?style=flat-square&label=current-version" alt="RubyGems Version" /> </a> <a href="https://rubygems.org/gems/ruby-progressbar" alt="RubyGems Rank Overall"> <img src="https://img.shields.io/gem/rt/ruby-progressbar.svg?style=flat-square&label=total-rank" alt="RubyGems Rank Overall" /> </a> <a href="https://rubygems.org/gems/ruby-progressbar" alt="RubyGems Rank Daily"> <img src="https://img.shields.io/gem/rd/ruby-progressbar.svg?style=flat-square&label=daily-rank" alt="RubyGems Rank Daily" /> </a> <a href="https://rubygems.org/gems/ruby-progressbar" alt="RubyGems Downloads"> <img src="https://img.shields.io/gem/dt/ruby-progressbar.svg?style=flat-square&label=total-downloads" alt="RubyGems Downloads" /> </a> <a href="https://github.com/jfelchner/ruby-progressbar/actions?query=workflow%3ABuild" alt="Build Status"> <img src="https://img.shields.io/github/actions/workflow/status/jfelchner/ruby-progressbar/testing.yml?branch=master&label=CI&style=flat-square&logo=github" alt="Build Status" /> </a> <a href="#" alt="Maintainability"> <img src="https://img.shields.io/codeclimate/maintainability/jfelchner/ruby-progressbar?style=flat-square&label=grade" alt="Maintainability" /> </a> </div> <br> <img src="https://kompanee-public-assets.s3.amazonaws.com/readmes/ruby-progressbar-cage.png" align="right" />

The ultimate text progress bar library for Ruby! It'll SMASH YOU OVER THE HEAD with a PURE RUSH of progress bar excitement!

Don't miss out on what all the kids are talking about! If you want everyone to know that your gem or app can survive in the cage then YOU WANT RUBY-PROGRESSBAR!

<br>

It's Better Than The Other 186,312 Progress Bar Libraries Because

Basic Usage

Creation

It's simple to get started:

progressbar = ProgressBar.create

Creates a basic progress bar beginning at 0, a maximum capacity of 100 and tells it to start.

Progress: |                                                                       |

Marking Progress

Every call to #increment will advance the bar by 1. Therefore:

50.times { progressbar.increment }

Would output an advancing line which would end up here:

Progress: |===================================                                    |

Animation

Basic Usage Marking Progress

Full Reference

There's gotten to be too much awesome to pack into one page. Visit the wiki for the full documentation.

Issues

If you have problems, please create a Github issue.

Credits

The Kompanee

ruby-progressbar is maintained by The Kompanee, Ltd.

The names and logos for The Kompanee are trademarks of The Kompanee, Ltd.

License

ruby-progressbar 1.0 is Copyright © 2011-2021 The Kompanee. It is free software, and may be redistributed under the terms specified in the LICENSE file. ruby-progressbar 0.9.0 is Copyright © 2008 Satoru Takabayashi