ruby-changes:20208
From: marcandre <ko1@a...>
Date: Tue, 28 Jun 2011 00:42:58 +0900 (JST)
Subject: [ruby-changes:20208] marcandRe: r32256 (trunk): * NEWS: rand and Random.rand now support range argument #4605
marcandre 2011-06-28 00:42:50 +0900 (Tue, 28 Jun 2011) New Revision: 32256 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=32256 Log: * NEWS: rand and Random.rand now support range argument [ruby-dev:43427] #4605 Modified files: trunk/NEWS Index: NEWS =================================================================== --- NEWS (revision 32255) +++ NEWS (revision 32256) @@ -68,12 +68,18 @@ * Kernel * Kernel#respond_to? now returns false for protected methods. * move #__id__ to BasicObject. + * extended method: + * Kernel#rand supports range argument * Module * new methods: * Module#private_constant * Module#public_constant + * Random + * extended method: + * Random.rand supports range argument + * String * extended method: * String#unpack supports endian modifiers -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/