Method: TempestTime::Command#with_spinner
- Defined in:
- lib/tempest_time/command.rb
#with_spinner(message, format = :pong) {|s| ... } ⇒ Object
43 44 45 46 47 |
# File 'lib/tempest_time/command.rb', line 43 def with_spinner(, format = :pong) s = spinner.new(":spinner #{message}", format: format) s.auto_spin yield(s) end |