Module: Bnm::Spinner
- Defined in:
- lib/bnm/spinner.rb
Constant Summary collapse
- ASCII =
['⣾', '⣽', '⣻', '⢿', '⡿', '⣟', '⣯', '⣷']
Class Method Summary collapse
Class Method Details
.loading ⇒ Object
5 6 7 8 9 10 |
# File 'lib/bnm/spinner.rb', line 5 def self.loading ASCII.each do |ascii| print "\rLoading artists... #{ascii} ".yellow sleep 0.2 end end |