Class: ReversedProgressBar

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

Constant Summary

Constant Summary

Constants inherited from ProgressBar

ProgressBar::VERSION

Instance Attribute Summary

Attributes inherited from ProgressBar

#bar_mark, #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



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

def do_percentage
  100 - super
end