summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2025-12-19 20:38:34 -0500
committerPeter Zhu <peter@peterzhu.ca>2025-12-21 14:08:00 -0500
commit76441060f230b8a797c1792e71dcce308ca3cf43 (patch)
tree2a3c9623c51b9a624ead4ee187c915dd2047df05
parentab4a0b4e0ec30fe7567fe6c9ef04d8ff851f256f (diff)
[DOC] Update call-seq for Method#<<
-rw-r--r--proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proc.c b/proc.c
index 8a7a6ba863..2fb9781b9f 100644
--- a/proc.c
+++ b/proc.c
@@ -4048,7 +4048,7 @@ rb_proc_compose_to_right(VALUE self, VALUE g)
/*
* call-seq:
- * meth << g -> a_proc
+ * self << g -> a_proc
*
* Returns a proc that is the composition of this method and the given <i>g</i>.
* The returned proc takes a variable number of arguments, calls <i>g</i> with them