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

ruby-changes:49472

From: nobu <ko1@a...>
Date: Thu, 4 Jan 2018 09:44:48 +0900 (JST)
Subject: [ruby-changes:49472] nobu:r61588 (trunk): Fix doc typo in Symbol#to_proc [Fix GH-1785]

nobu	2018-01-04 09:44:40 +0900 (Thu, 04 Jan 2018)

  New Revision: 61588

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

  Log:
    Fix doc typo in Symbol#to_proc [Fix GH-1785]
    
    [ci skip]
    
    From: Dimitris Zorbas <dimitrisplusplus@g...>

  Modified files:
    trunk/string.c
Index: string.c
===================================================================
--- string.c	(revision 61587)
+++ string.c	(revision 61588)
@@ -10461,7 +10461,7 @@ rb_sym_proc_call(ID mid, int argc, const https://github.com/ruby/ruby/blob/trunk/string.c#L10461
  * call-seq:
  *   sym.to_proc
  *
- * Returns a _Proc_ object which respond to the given method by _sym_.
+ * Returns a _Proc_ object which responds to the given method by _sym_.
  *
  *   (1..3).collect(&:to_s)  #=> ["1", "2", "3"]
  */

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

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