diff options
author | sonots <sonots@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-21 23:35:40 +0000 |
---|---|---|
committer | sonots <sonots@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-21 23:35:40 +0000 |
commit | d9e11970f8bcc7de126be41efd934ccd94cdde8b (patch) | |
tree | 357db262540699d5e9b98ed014d14e9b9deaf8fb /string.c | |
parent | bc28011f02a172c9787a9981c883acabc10d43b4 (diff) | |
download | ruby-d9e11970f8bcc7de126be41efd934ccd94cdde8b.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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |