mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
bc28011f02
commit
d9e11970f8
1 changed files with 1 additions and 1 deletions
2
string.c
2
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
|
||||
|
|
Loading…
Add table
Reference in a new issue