new(total)
Create a new Progress object passing the expected number of bytes to receive
# File actionpack/lib/action_controller/upload_progress.rb, line 371 def initialize(total) @total_bytes = total reset! end