class ActionDispatch::Response::Header

def []=(k, v)

Experimental RBS support (using type sampling data from the type_fusion project).

def []=: (String k, String v) -> String

This signature was generated using 3 samples from 1 application.

def []=(k, v)
  if @response.sending? || @response.sent?
    raise ActionDispatch::IllegalStateError, "header already sent"
  end
  super
end