method

each

rails latest stable - Class: ActionController::DataStreaming::FileBody

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.2.9) is shown here.

each()
public

Stream the file’s contents if Rack::Sendfile isn’t present.