Project

General

Profile

Actions

Bug #419

closed

[PATCH] Hash#default_proc=

Added by oblomov (Giuseppe Bilotta) over 16 years ago. Updated over 13 years ago.

Status:
Closed
Target version:
-
ruby -v:
Backport:
[ruby-core:18244]

Description

=begin
The attached patch implements Hash#default_proc=, a method to change the default proc for hashes after creation. I decided to implement this feature as a follow-up to a discussion on the IRC channel. The patch was tested against current svn trunk. This being my first contribution to this excellent project, I hope I didn't get too many things wrong :)
=end


Files

hash-set-default-proc-1.9.patch (1.45 KB) hash-set-default-proc-1.9.patch Patch to implement Hash#default_proc= against svn trunk@18501 oblomov (Giuseppe Bilotta), 08/12/2008 08:13 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0