ruby-cvs:21013
From: matz ruby-lang.org
Date: Fri, 26 Oct 2007 02:05:10 +0900 (JST)
Subject: [ruby-cvs:21013] Ruby:r13776 (trunk): * hash.c (rb_hash_s_create): check and convert argument hash
matz 2007-10-26 02:05:09 +0900 (Fri, 26 Oct 2007)
New Revision: 13776
Modified files:
trunk/ChangeLog
trunk/hash.c
Log:
* hash.c (rb_hash_s_create): check and convert argument hash
using #to_hash.
* hash.c (rb_hash_s_create): Hash#[] now takes assocs as source of
hash conversion.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/hash.c?r1=13776&r2=13775
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=13776&r2=13775