[前][次][番号順一覧][スレッド一覧]

ruby-changes:53543

From: nobu <ko1@a...>
Date: Fri, 16 Nov 2018 13:32:52 +0900 (JST)
Subject: [ruby-changes:53543] nobu:r65759 (trunk): [DOC] mention class method `new` [ci skip]

nobu	2018-11-16 13:32:48 +0900 (Fri, 16 Nov 2018)

  New Revision: 65759

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65759

  Log:
    [DOC] mention class method `new` [ci skip]
    
    * NEWS: mention `new` class methods, instead of `initialize`
      insetance methods whic are not called by users directly.

  Modified files:
    trunk/NEWS
Index: NEWS
===================================================================
--- NEWS	(revision 65758)
+++ NEWS	(revision 65759)
@@ -168,8 +168,8 @@ sufficient information, see the ChangeLo https://github.com/ruby/ruby/blob/trunk/NEWS#L168
 
   [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 ChangeLo https://github.com/ruby/ruby/blob/trunk/NEWS#L184
 
   [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]
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]