ruby-cvs:19512
From: matz ruby-lang.org
Date: Mon, 14 May 2007 01:54:59 +0900 (JST)
Subject: [ruby-cvs:19512] Ruby:r12276: * array.c (rb_ary_choice): should return nil when the array is
matz 2007-05-14 01:54:58 +0900 (Mon, 14 May 2007)
New Revision: 12276
Modified files:
trunk/ChangeLog
trunk/array.c
trunk/version.h
Log:
* array.c (rb_ary_choice): should return nil when the array is
empty.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/version.h?r1=12276&r2=12275
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/array.c?r1=12276&r2=12275
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=12276&r2=12275