summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-16 04:32:48 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-16 04:32:48 +0000
commit1d66574aa96ef387decb7d60304a74358a26fc73 (patch)
treeba5fc2b306d0127e39db85c75e807da4a1cda1a0 /NEWS
parentcb153527c46b7f1f61355fe181ac5e2f7a28a7d7 (diff)
[DOC] mention class method `new` [ci skip]
* NEWS: mention `new` class methods, instead of `initialize` insetance methods whic are not called by users directly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS12
1 files changed, 6 insertions, 6 deletions
diff --git a/NEWS b/NEWS
index a4b07925b3..cfd13953ca 100644
--- a/NEWS
+++ b/NEWS
@@ -168,8 +168,8 @@ sufficient information, see the ChangeLog file or Redmine
[New options]
- * KeyError#initialize accepts +:receiver+ and +:key+ options to
- set receiver and key in Ruby code. [Feature #14313]
+ * KeyError.new accepts +:receiver+ and +:key+ options to set receiver and
+ key in Ruby code. [Feature #14313]
[Module]
@@ -184,15 +184,15 @@ sufficient information, see the ChangeLog file or Redmine
[New options]
- * NameError#initialize accepts +:receiver+ option to set receiver
- in Ruby code. [Feature #14313]
+ * NameError.new accepts +:receiver+ option to set receiver in Ruby
+ code. [Feature #14313]
[NoMethodError]
[New options]
- * NoMethodError#initialize accepts +:receiver+ option to set receiver
- in Ruby code. [Feature #14313]
+ * NoMethodError.new accepts +:receiver+ option to set receiver in Ruby
+ code. [Feature #14313]
[Numeric]