diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-16 04:32:48 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-16 04:32:48 +0000 |
commit | 1d66574aa96ef387decb7d60304a74358a26fc73 (patch) | |
tree | ba5fc2b306d0127e39db85c75e807da4a1cda1a0 /NEWS | |
parent | cb153527c46b7f1f61355fe181ac5e2f7a28a7d7 (diff) | |
download | ruby-1d66574aa96ef387decb7d60304a74358a26fc73.tar.gz |
[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-- | NEWS | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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] |