summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--error.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/error.c b/error.c
index 1eccedf9a9..4d534f7c04 100644
--- a/error.c
+++ b/error.c
@@ -277,11 +277,11 @@ rb_warning_s_warn(int argc, VALUE *argv, VALUE mod)
*
* Example:
* module MyWarningFilter
- * def warn(message)
+ * def warn(message, category: nil, **kwargs)
* if /some warning I want to ignore/.matches?(message)
* # ignore
* else
- * super(message)
+ * super
* end
* end
* end