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

ruby-changes:41313

From: hsbt <ko1@a...>
Date: Wed, 30 Dec 2015 20:26:18 +0900 (JST)
Subject: [ruby-changes:41313] hsbt:r53385 (trunk): * doc/syntax/calling_methods.rdoc: fix old operator for safe navigation

hsbt	2015-12-30 20:26:09 +0900 (Wed, 30 Dec 2015)

  New Revision: 53385

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

  Log:
    * doc/syntax/calling_methods.rdoc: fix old operator for safe navigation
      operator. [ci skip][fix GH-1182] Patch by @dougo

  Modified files:
    trunk/ChangeLog
    trunk/doc/syntax/calling_methods.rdoc
Index: doc/syntax/calling_methods.rdoc
===================================================================
--- doc/syntax/calling_methods.rdoc	(revision 53384)
+++ doc/syntax/calling_methods.rdoc	(revision 53385)
@@ -27,7 +27,7 @@ This sends the +my_method+ message to +m https://github.com/ruby/ruby/blob/trunk/doc/syntax/calling_methods.rdoc#L27
 receiver but depending on the method's visibility sending a message may raise a
 NoMethodError.
 
-You may use <code>.?</code> to designate a receiver, then +my_method+ is not
+You may use <code>&.</code> to designate a receiver, then +my_method+ is not
 invoked and the result is +nil+ when the receiver is +nil+.  In that case, the
 arguments of +my_method+ are not evaluated.
 
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 53384)
+++ ChangeLog	(revision 53385)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Wed Dec 30 20:25:52 2015  SHIBATA Hiroshi  <hsbt@r...>
+
+	* doc/syntax/calling_methods.rdoc: fix old operator for safe navigation
+	  operator. [ci skip][fix GH-1182] Patch by @dougo
+
 Wed Dec 30 16:43:23 2015  Kuniaki IGARASHI  <igaiga@g...>
 
 	* test/ruby/test_string.rb (test_ord): Add test for String#ord.

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

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