aboutsummaryrefslogtreecommitdiffstats
path: root/NEWS
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <zn@mbf.nifty.com>2019-12-23 13:23:08 +0900
committerKazuhiro NISHIYAMA <zn@mbf.nifty.com>2019-12-23 13:23:08 +0900
commit92d0958257965adf426e6f6c654c5935a690bf5b (patch)
treefd2717e44011c1740aa8b069f4cec24d0080d9f7 /NEWS
parent3142a6beb28db36dc9150f1ad6752cd1e19a8712 (diff)
downloadruby-92d0958257965adf426e6f6c654c5935a690bf5b.tar.gz
FrozenError.new accepts :receiver instead of 2nd argument [ci skip]
[ruby-core:96227] [Feature #16419]
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS4
1 files changed, 2 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index cbd162bcb5..53f9109d44 100644
--- a/NEWS
+++ b/NEWS
@@ -319,8 +319,8 @@ FrozenError::
* Added FrozenError#receiver to return the frozen object that
modification was attempted on. To set this object when raising
- FrozenError in Ruby code, pass it as the second argument to
- FrozenError.new. [Feature #15751]
+ FrozenError in Ruby code, FrozenError.new accepts a +:receiver+
+ option. [Feature #15751]
GC::