instance method
fetch
Ruby on Rails 4.0.13
Since v4.0.13Signature
fetch(key, *args, &block)
No documentation comment.
Parameters
-
keyreq -
argsrest -
blockblock
Source
# File actionpack/lib/action_dispatch/http/headers.rb, line 34
def fetch(key, *args, &block)
@env.fetch env_name(key), *args, &block
end
Defined in actionpack/lib/action_dispatch/http/headers.rb line 34
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::Http::Headers