Project

General

Profile

Bug #441 ยป hash-set-default-rdoc.patch

oblomov (Giuseppe Bilotta), 08/14/2008 03:55 PM

View differences:

ChangeLog (working copy)
Thu Aug 14 15:50:30 2008 Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
* hash.c (set_default): fix rdoc
Thu Aug 14 15:34:10 2008 Tanaka Akira <akr@fsij.org>
* transcode.c (rb_econv_conv): new function. it don't consume input
hash.c (working copy)
/*
* call-seq:
* hsh.default = obj => hsh
* 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
    (1-1/1)