From 7464de7e8b135410b9f5f502749c634a5b063cb1 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@18528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- doc/NEWS | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc') diff --git a/doc/NEWS b/doc/NEWS index db76546fbb..6c542c7577 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 v1.2.3