diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-07-26 02:26:08 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-07-26 02:26:08 +0000 |
commit | 34ca2ab05891c41e28deecde6a8548127f286525 (patch) | |
tree | fa18dbdc23917c331e91fdb7ae9b7f41e91a5867 /doc | |
parent | eb51666a192204ea1689154404d03a03dc5a64de (diff) | |
download | ruby-34ca2ab05891c41e28deecde6a8548127f286525.tar.gz |
* variable.c (rb_mod_const_missing): "const_missing" should not
appear in the caller(); add call frame adjustment.
* eval.c (rb_method_missing): simplify call frame adjustment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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. |