each-progress v0.1.1
each-progress
Simple progress bar. Supports only each.
Installation
-
Add the dependency to your
shard.yml
:dependencies: each_progress: github: ktanaka101/each-progress
-
Run
shards install
Usage
Pass an object that can call each method
require "each_progress"
EachProgress.by(0...100) do |_|
# Some processing...
sleep 0.1
end
# Progress will be displayed.
Contributing
- Fork it (https://github.com/ktanaka101/each-progress/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- ktanaka101 Kentaro Tanaka - creator and maintainer
Repository
each-progress
Owner
Statistic
- 2
- 1
- 0
- 0
- 0
- almost 5 years ago
- June 1, 2019
License
MIT License
Links
Synced at
Fri, 22 Nov 2024 08:21:16 GMT
Languages