method

new

rails latest stable - Class: Rails::Rack::ContentLength

Method deprecated or moved

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

new(app, sendfile=nil)
public

No documentation available.

# File railties/lib/rails/rack/content_length.rb, line 10
      def initialize(app, sendfile=nil)
        @app = app
        @sendfile = sendfile
      end