summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-23 06:46:15 (GMT)
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-23 06:46:15 (GMT)
commit26cd2da78492a410e86c5d7ef9ae42049ed87799 (patch)
treecba0f6b113e0344e47d150cf50d362ad66b204bf /string.c
parente0ea5e903bcd5cf84c0aab5e81ab81995e6af753 (diff)
* 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
Diffstat (limited to 'string.c')
-rw-r--r--string.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/string.c b/string.c
index af744c7..eb16998 100644
--- a/string.c
+++ b/string.c
@@ -4628,6 +4628,7 @@ str_gsub(int argc, VALUE *argv, VALUE str, int bang)
/*
* call-seq:
* 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) -> an_enumerator
*