From 6ae69e9ac1db89c0ee2e8ced251cc31e7f0c96d2 Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Fri, 26 Dec 2025 10:03:49 -0500 Subject: [PATCH 1/2] [DOC] Remove args from call-seq of Method#call --- proc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proc.c b/proc.c index 4f775c899228b5..5cfcfb08ad05ab 100644 --- a/proc.c +++ b/proc.c @@ -2644,8 +2644,8 @@ method_dup(VALUE self) /* * call-seq: - * meth.call(args, ...) -> obj - * meth[args, ...] -> obj + * meth.call(...) -> obj + * meth[...] -> obj * method === obj -> result_of_method * * Invokes the meth with the specified arguments, returning the From 7b3b1a1442a6665ab300207bf064ae360272525a Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Fri, 26 Dec 2025 10:04:51 -0500 Subject: [PATCH 2/2] [DOC] Use self in call-seq for Method#call --- proc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/proc.c b/proc.c index 5cfcfb08ad05ab..d72f8d952e9465 100644 --- a/proc.c +++ b/proc.c @@ -2644,11 +2644,11 @@ method_dup(VALUE self) /* * call-seq: - * meth.call(...) -> obj - * meth[...] -> obj - * method === obj -> result_of_method + * call(...) -> obj + * self[...] -> obj + * self === obj -> result_of_method * - * Invokes the meth with the specified arguments, returning the + * Invokes +self+ with the specified arguments, returning the * method's return value. * * m = 12.method("+")