instance method
[]
Ruby on Rails 4.0.13
Since v3.0.20Signature
[](key)
No documentation comment.
Parameters
-
keyreq
Source
# File actionpack/lib/action_dispatch/http/headers.rb, line 21
def [](key)
@env[env_name(key)]
end
Defined in actionpack/lib/action_dispatch/http/headers.rb line 21
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::Http::Headers