From a1bbb2a78077e2c337e4a737f4b562c99e2174a1 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 4 Jan 2018 00:44:40 +0000 Subject: [PATCH] Fix doc typo in Symbol#to_proc [Fix GH-1785] [ci skip] From: Dimitris Zorbas git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/string.c b/string.c index 92995d1ce5..1b371a0a33 100644 --- a/string.c +++ b/string.c @@ -10461,7 +10461,7 @@ rb_sym_proc_call(ID mid, int argc, const VALUE *argv, VALUE passed_proc) * 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"] */