We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef0ef53 commit 86b0514Copy full SHA for 86b0514
lib/net/http/header.rb
@@ -272,7 +272,7 @@ def get_fields(key)
272
273
# :call-seq
274
# fetch(key, default_val = nil) {|key| ... } -> object
275
- # fetch(key, default_val = nil) value or default_val
+ # fetch(key, default_val = nil) -> value or default_val
276
#
277
# With a block, returns the string value for +key+ if it exists;
278
# otherwise returns the value of the block;
0 commit comments