Giter Site home page Giter Site logo

ruby-progressbar's Introduction

Ruby/ProgressBar


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!


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

ruby-progressbar's People

Contributors

amarshall avatar apepper avatar bensomers avatar betelgeuse avatar bjmfactory avatar c-lliope avatar cgriego avatar cgunther avatar darthsim avatar ddnexus avatar devwout avatar dgmstuart avatar dmytrostepaniuk avatar dreyks avatar flori avatar hron avatar igrep avatar jfelchner avatar jim avatar l2g avatar marcandre avatar marcotc avatar minad avatar nex3 avatar olivierlacan avatar simi avatar timgaleckas avatar toy avatar vlmonk avatar zole avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.