class ActionController::Renderer

def rack_value_for(key, value)

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

def rack_value_for: (Symbol key, (false | String) value) -> String

This signature was generated using 3 samples from 1 application.

def rack_value_for(key, value)
  case key
  when :https
    value ? "on" : "off"
  when :method
    -value.upcase
  else
    value
  end
end