diff options
author | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2019-12-23 13:23:08 +0900 |
---|---|---|
committer | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2019-12-23 13:23:08 +0900 |
commit | 92d0958257965adf426e6f6c654c5935a690bf5b (patch) | |
tree | fd2717e44011c1740aa8b069f4cec24d0080d9f7 /NEWS | |
parent | 3142a6beb28db36dc9150f1ad6752cd1e19a8712 (diff) |
FrozenError.new accepts :receiver instead of 2nd argument [ci skip]
[ruby-core:96227] [Feature #16419]
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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:: |