Project

General

Profile

Bug #446

[PATCH] [DOC] Net::HTTPHeaders#fetch does not return nil but raises IndexError

Added by NoKarma (Arthur Schreiber) over 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
[ruby-core:18309]

Description

=begin
As Hash#fetch, Net::HTTPHeaders#fetch does raise an IndexError when neither a default
value nor a block was passed and the requested key can not be found.

The attached patch updates the documentation for Net::HTTPHeaders#fetch to reflect this.
=end

net_httpheader_fetch_doc.patch View (697 Bytes) NoKarma (Arthur Schreiber), 08/15/2008 09:47 PM

History

#1 Updated by shyouhei (Shyouhei Urabe) about 8 years ago

  • Assignee set to aamine (Minero Aoki)
  • ruby -v set to -

=begin

=end

#2 Updated by Anonymous over 7 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
Applied in changeset r24830.
=end

Also available in: Atom PDF