From d9e11970f8bcc7de126be41efd934ccd94cdde8b Mon Sep 17 00:00:00 2001 From: sonots Date: Sat, 21 Oct 2017 23:35:40 +0000 Subject: * 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 --- string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'string.c') 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 str with the all occurrences of + * Returns a copy of str with all occurrences of * pattern substituted for the second argument. The pattern is * typically a Regexp; if given as a String, any * regular expression metacharacters it contains will be interpreted -- cgit v1.2.3