Project

General

Profile

Actions

Bug #446

closed

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

Added by NoKarma (Arthur Schreiber) about 16 years ago. Updated over 13 years ago.

Status:
Closed
Target version:
-
ruby -v:
-
Backport:
[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


Files

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

Updated by shyouhei (Shyouhei Urabe) almost 16 years ago

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

=begin

=end

Actions #2

Updated by Anonymous about 15 years ago

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

=begin
Applied in changeset r24830.
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0