Class: ReversedProgressBar

Inherits:
ProgressBar show all
Defined in:
lib/progressbar.rb

Constant Summary

Constants inherited from ProgressBar

ProgressBar::VERSION

Instance Attribute Summary

Attributes inherited from ProgressBar

#current, #start_time, #title, #total

Instance Method Summary collapse

Methods inherited from ProgressBar

#clear, #file_transfer_mode, #finish, #finished?, #format=, #format_arguments=, #halt, #inc, #initialize, #inspect, #set

Constructor Details

This class inherits a constructor from ProgressBar

Instance Method Details

#do_percentageObject



232
233
234
# File 'lib/progressbar.rb', line 232

def do_percentage
  100 - super
end