Flowdock
method

fetch

Importance_1
v4.2.1 - Show latest stable - 0 notes - Class: ActionDispatch::Http::Headers
fetch(key, *args, &block) public

Returns the value for the given key mapped to @env.

If the key is not found and an optional code block is not provided, raises a KeyError exception.

If the code block is provided, then it will be run and its result returned.

Show source
Register or log in to add new notes.