diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/NEWS | 25 |
1 files changed, 0 insertions, 25 deletions
@@ -381,20 +381,6 @@ This file is not actively maintained. See ChangeLog for recent changes. Fixed with loading modules. -: MatchData#to_ary - - Added for convenience of Regexp#match. [ruby-dev:12766] - - Previously we had to do: - - foo, bar, baz = /(\w+?)\s+(\w+?)\s+(\w+)/.match("foo bar baz").to_a[1..-1] - p [foo, bar, baz] - - But now can do: - - _, foo, bar, baz = /(\w+?)\s+(\w+?)\s+(\w+)/.match("foo bar baz") - p [foo, bar, baz] - : Math.acos(x) : Math.asin(x) : Math.atan(x) @@ -456,11 +442,6 @@ This file is not actively maintained. See ChangeLog for recent changes. Added. -: Proc#yield - - Added. This is equivalent to Proc#call except it does not check the - number of given arguments, which are thus passed to the proc as-is. - : Process.times Moved from Time.times. (Time.times still remains but emits a @@ -478,12 +459,6 @@ This file is not actively maintained. See ChangeLog for recent changes. Added. -: Range#to_ary - - Added. You can now do something like this: - - a, b, c = 1..3 - : Regexp#options Added. |