summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-04 00:44:40 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-04 00:44:40 +0000
commita1bbb2a78077e2c337e4a737f4b562c99e2174a1 (patch)
treebf677430deffc76dd09ece1a948838110f04ae09 /string.c
parent9b842fd0b595c69faea74af182816547f6131ee0 (diff)
Fix doc typo in Symbol#to_proc [Fix GH-1785]
[ci skip] From: Dimitris Zorbas <dimitrisplusplus@gmail.com> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
-rw-r--r--string.c2
1 files changed, 1 insertions, 1 deletions
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"]
*/