This project is closed and read-only.
Bug #1545 » 0002-hash.c-rb_hash_set_default-rm-superfluous-a.patch
| 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 }
|
||