rb-spinners
More than 60 spinners for terminal, ruby wrapper for amazing node library cli-spinners and python library py-spinners.
The list of spinners is just a JSONfile.
If you want to use something more wonderful, use halo and ora
Installation
Add this line to your application's Gemfile:
gem 'rb-spinners'
And then execute:
$ bundle
Or install it yourself as:
$ gem install rb-spinners
Usage
require 'spinners'
puts Spinners::DOTS
# {:dots=>{:interval=>80, :frames=>["⠋", "⠙", "⠹", "⠸", "⠼", "⠴", "⠦", "⠧", "⠇", "⠏"]}}
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/takezyou/rb-spinners.
Related
License
The gem is available as open source under the terms of the MIT License.