Project

General

Profile

Actions

Bug #419

closed

[PATCH] Hash#default_proc=

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

Status:
Closed
Priority:
Normal
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 #1

Updated by oblomov (Giuseppe Bilotta) about 13 years ago

=begin
Oops, I assigned it to the wrong tracker, should have been a Feature, sorry 8-(
=end

Actions #2

Updated by ko1 (Koichi Sasada) about 13 years ago

  • Assignee set to matz (Yukihiro Matsumoto)

=begin

=end

Actions #3

Updated by matz (Yukihiro Matsumoto) about 13 years ago

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

=begin
Applied in changeset r18577.
=end

Actions

Also available in: Atom PDF