method

new

rails latest stable - Class: ActionDispatch::BodyProxy

Method deprecated or moved

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

new(body, &block)
public

No documentation available.

# File actionpack/lib/action_dispatch/middleware/body_proxy.rb, line 4
    def initialize(body, &block)
      @body, @block, @closed = body, block, false
    end