aboutsummaryrefslogtreecommitdiffstats
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
commit49257df9a7f38f9a8cb653cc11104260fd3365a4 (patch)
treebf677430deffc76dd09ece1a948838110f04ae09 /string.c
parentf3abe943ff7876a9f39f1dd7493b284a8a5ebae9 (diff)
downloadruby-49257df9a7f38f9a8cb653cc11104260fd3365a4.tar.gz
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"]
*/