Project

General

Profile

This project is closed and read-only.

Bug #1545 » 0002-hash.c-rb_hash_set_default-rm-superfluous-a.patch

runpaint (Run Paint Run Run), 05/31/2009 12:38 PM

View differences:

hash.c
* hsh.default = obj => obj
*
* Sets the default value, the value returned for a key that does not
* exist in the hash. It is not possible to set the a default to a
* exist in the hash. It is not possible to set the default to a
* <code>Proc</code> that will be executed on each key lookup.
*
* h = { "a" => 100, "b" => 200 }
(4-4/7)