method

remaining_seconds

rails latest stable - Class: ActionController::UploadProgress::Progress

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.

remaining_seconds()
public

Calculate the seconds remaining based on the current bitrate. Returns O seconds if stalled or if no bytes have been received