Method: Commander::UI::ProgressBar#increment
- Defined in:
- lib/commander/user_interaction.rb
#increment(tokens = {}) ⇒ Object
Increment progress. Optionally pass tokens which can be displayed in the output format.
540 541 542 543 544 |
# File 'lib/commander/user_interaction.rb', line 540 def increment(tokens = {}) @step += 1 @tokens.merge! tokens if tokens.is_a? Hash show end |