Project

General

Profile

Actions

Bug #1539

closed

[Docs] Hash#rehash Raises RuntimeError Not IndexError

Added by runpaint (Run Paint Run Run) almost 15 years ago. Updated about 13 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
1.8.*
[ruby-core:23628]

Description

=begin
The 1.8 documentation for Hash#rehash claims that an IndexError will be raised if called within an iterator block, when in fact a RuntimeError is raised. The 1.9 documentation is correct on this point. Could this be fixed on both of the 1.8 branches?
=end

Actions

Also available in: Atom PDF

Like0
Like0