class FcrepoWrapper::Downloader::SafeProgressBar
Public Instance Methods
progress=(new_progress)
click to toggle source
Calls superclass method
# File lib/fcrepo_wrapper/downloader.rb, line 15 def progress=(new_progress) self.total = new_progress if total.to_i <= new_progress super end
total=(new_total)
click to toggle source
Calls superclass method
# File lib/fcrepo_wrapper/downloader.rb, line 20 def total=(new_total) super if new_total && new_total > 0 end