aboutsummaryrefslogtreecommitdiffstats
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
commit614529f42ed7ff755da176e411877078cdc11372 (patch)
tree357db262540699d5e9b98ed014d14e9b9deaf8fb /string.c
parent04fc2531eda6da93c3e768c3ae505ae94e38b4ac (diff)
downloadruby-614529f42ed7ff755da176e411877078cdc11372.tar.gz
* 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