From 1d66574aa96ef387decb7d60304a74358a26fc73 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 16 Nov 2018 04:32:48 +0000 Subject: [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 --- NEWS | 12 ++++++------ 1 file 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] -- cgit v1.2.3