Method: Commander::UI::ProgressBar#finished?

Defined in:
lib/commander/user_interaction.rb

#finished?Boolean

Whether or not the operation is complete, and we have finished.

Returns:

  • (Boolean)


525
526
527
# File 'lib/commander/user_interaction.rb', line 525

def finished?
  @step == @total_steps + 1
end