Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v1.0.0) is shown here.
new(total)
public
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