instance method
rack_value_for
Ruby on Rails 5.2.8.1
Since v5.2.8.1 Last seen in v7.0.10 PrivateSignature
rack_value_for(key, value)
No documentation comment.
Parameters
-
keyreq -
valuereq
Source
# File actionpack/lib/action_controller/renderer.rb, line 113
def rack_value_for(key, value)
RACK_VALUE_TRANSLATION.fetch(key, IDENTITY).call value
end
Defined in actionpack/lib/action_controller/renderer.rb line 113
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::Renderer