зеркало из https://github.com/github/ruby.git
* string.c: Added method signature to include hash. It's inconsistency
with `gsub` method signature. [ci skip][fix GH-1023] Patch by @danielevans git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
e0ea5e903b
Коммит
26cd2da784
|
@ -1,3 +1,9 @@
|
||||||
|
Fri Oct 23 15:46:09 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org>
|
||||||
|
|
||||||
|
* string.c: Added method signature to include hash. It's inconsistency
|
||||||
|
with `gsub` method signature.
|
||||||
|
[ci skip][fix GH-1023] Patch by @danielevans
|
||||||
|
|
||||||
Fri Oct 23 15:25:51 2015 Shugo Maeda <shugo@ruby-lang.org>
|
Fri Oct 23 15:25:51 2015 Shugo Maeda <shugo@ruby-lang.org>
|
||||||
|
|
||||||
* lib/net/imap.rb: remove an empty comment line and -*-.
|
* lib/net/imap.rb: remove an empty comment line and -*-.
|
||||||
|
|
1
string.c
1
string.c
|
@ -4628,6 +4628,7 @@ str_gsub(int argc, VALUE *argv, VALUE str, int bang)
|
||||||
/*
|
/*
|
||||||
* call-seq:
|
* call-seq:
|
||||||
* str.gsub!(pattern, replacement) -> str or nil
|
* str.gsub!(pattern, replacement) -> str or nil
|
||||||
|
* str.gsub!(pattern, hash) -> str or nil
|
||||||
* str.gsub!(pattern) {|match| block } -> str or nil
|
* str.gsub!(pattern) {|match| block } -> str or nil
|
||||||
* str.gsub!(pattern) -> an_enumerator
|
* str.gsub!(pattern) -> an_enumerator
|
||||||
*
|
*
|
||||||
|
|
Загрузка…
Ссылка в новой задаче