Class: ReversedProgressBar

Inherits:
ProgressBar show all
Defined in:
lib/epitools/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


257
258
259
# File 'lib/epitools/progressbar.rb', line 257

def do_percentage
  100 - super
end