ruby-changes:25712
From: marcandre <ko1@a...>
Date: Tue, 20 Nov 2012 23:54:03 +0900 (JST)
Subject: [ruby-changes:25712] marcandRe: r37769 (trunk): * NEWS: List incompatible change for Array#values_at [#6203]
marcandre 2012-11-20 23:53:54 +0900 (Tue, 20 Nov 2012) New Revision: 37769 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=37769 Log: * NEWS: List incompatible change for Array#values_at [#6203] Modified files: trunk/NEWS Index: NEWS =================================================================== --- NEWS (revision 37768) +++ NEWS (revision 37769) @@ -24,6 +24,8 @@ * incompatible changes: * random parameter of Array#shuffle! and Array#sample now will be called with one argument, maximum value. + * when given Range arguments, Array#values_at now returns nil for each + value that is out-of-range. * Enumerable * added method: @@ -287,6 +289,10 @@ === Compatibility issues (excluding feature bug fixes) + * Array#values_at + + See above. + * Signal.trap See above. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/