summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
Diffstat (limited to 'string.c')
-rw-r--r--string.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/string.c b/string.c
index 4267f010a4..40917a49da 100644
--- a/string.c
+++ b/string.c
@@ -9984,9 +9984,9 @@ sym_match(VALUE sym, VALUE other)
/*
* call-seq:
- * sym.match(obj) -> MatchData or nil
+ * sym.match(obj [, pos]) -> MatchData or nil
*
- * Returns <code>sym.to_s.match(obj)</code>.
+ * Returns <code>sym.to_s.match</code>.
*/
static VALUE
@@ -9997,9 +9997,9 @@ sym_match_m(int argc, VALUE *argv, VALUE sym)
/*
* call-seq:
- * sym.match?(obj) -> true or false
+ * sym.match?(obj [, pos]) -> true or false
*
- * Returns <code>sym.to_s.match?(obj)</code>.
+ * Returns <code>sym.to_s.match?</code>.
*/
static VALUE