Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

aria_progress_bar

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aria_progress_bar

  • 0.1.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

ProgressBar

ProgressBar is a simple Ruby module designed to create progress bars for iterables. It provides an easy and visually appealing way to track the progress of operations over any enumerable object in Ruby.

Installation

To install ProgressBar, simply add the following line to your application's Gemfile:

gem 'aria_progress_bar'

And then execute:

bundle install

Or install it yourself as:

gem install aria_progress_bar

Usage

Using ProgressBar is straightforward. Here is a basic example:

require 'aria_progress_bar'

# Create an array as an iterable
array = [1, 2, 3, 4, 5]

# Create a progress bar for the array
AriaProgressBar.bar(array) do |element|
  # Perform your operation
end

You can also customize the title and the number of bars:

AriaProgressBar.bar(array, title: 'Processing: ', n_bars: 30) do |element|
  # Your code here
end

Contributing

Contributions to ProgressBar are always welcome! Whether it's bug reports, feature requests, or pull requests, all contributions help make ProgressBar better.

To contribute:

  1. Fork the project (https://github.com/ariasdiniz/progressbar/fork)
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -am 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a new Pull Request

License

Distributed under the MIT License. See LICENSE.txt for more information.

FAQs

Package last updated on 27 Mar 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc