From 86ef068f72af302309c9f9a8ef984ba950777d38 Mon Sep 17 00:00:00 2001 From: knu Date: Tue, 12 Aug 2008 09:23:19 +0000 Subject: Mention the Array#choice removal and the Array#delete change. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- doc/NEWS | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/NEWS b/doc/NEWS index db76546fb..6c542c757 100644 --- a/doc/NEWS +++ b/doc/NEWS @@ -9,6 +9,7 @@ Incompatible (Severe) o Block local variables * Array o Array#nitems was removed (use count {|i| !i.nil?}) + o Array#choice was removed (use sample) * String o No longer an Enumerable o ?c semantics @@ -111,6 +112,8 @@ Compatible o Regexp#match, String#match * Fiber: coroutines/micro-threads * Array + o Array#delete returns a deleted element rather than a given + object o Array#to_s is equivalent to Array#inspect o Array.try_convert * Hash -- cgit