method

set_response!

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: ActionController::Metal
set_response!(response) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_controller/metal.rb, line 232
    def set_response!(response) # :nodoc:
      if @_response
        _, _, body = @_response
        body.close if body.respond_to?(:close)
      end

      @_response = response
    end
Register or log in to add new notes.