Method: Commander::UI::ProgressBar#show
- Defined in:
- lib/commander/user_interaction.rb
#show ⇒ Object
Output the progress bar.
511 512 513 514 515 516 517 518 519 520 |
# File 'lib/commander/user_interaction.rb', line 511 def show return if finished? erase_line if completed? HighLine.default_instance.say UI.replace_tokens(, generate_tokens) if .is_a? String else HighLine.default_instance.say UI.replace_tokens(@format, generate_tokens) << ' ' end end |