method

close

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.

close()
public

No documentation available.

# File actionpack/lib/action_dispatch/middleware/body_proxy.rb, line 12
    def close
      return if @closed
      @closed = true
      begin
        @body.close if @body.respond_to? :close
      ensure
        @block.call
      end
    end