summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
authorsonots <sonots@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-21 23:35:40 +0000
committersonots <sonots@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-21 23:35:40 +0000
commitd9e11970f8bcc7de126be41efd934ccd94cdde8b (patch)
tree357db262540699d5e9b98ed014d14e9b9deaf8fb /string.c
parentbc28011f02a172c9787a9981c883acabc10d43b4 (diff)
* string.c: Remove errant "the" in gsub documentation
patched by jlmuir (J. Lewis Muir) [fix GH-1679] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60324 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 411ec314d7..fb03a278d6 100644
--- a/string.c
+++ b/string.c
@@ -5179,7 +5179,7 @@ rb_str_gsub_bang(int argc, VALUE *argv, VALUE str)
* str.gsub(pattern) {|match| block } -> new_str
* str.gsub(pattern) -> enumerator
*
- * Returns a copy of <i>str</i> with the <em>all</em> occurrences of
+ * Returns a copy of <i>str</i> with <em>all</em> occurrences of
* <i>pattern</i> substituted for the second argument. The <i>pattern</i> is
* typically a <code>Regexp</code>; if given as a <code>String</code>, any
* regular expression metacharacters it contains will be interpreted