summaryrefslogtreecommitdiff
path: root/enumerator.c
diff options
context:
space:
mode:
authorMasataka Pocke Kuwabara <kuwabara@pocke.me>2020-05-27 15:46:42 +0900
committerGitHub <noreply@github.com>2020-05-26 23:46:42 -0700
commit752041ca11c7e08dd14b8efe063df06114a9660f (patch)
treea50662238dbdb3d08a296ec832eb58b426e8f8ef /enumerator.c
parent64c5bf572187f602d06132d4fa18dcd4b425aa22 (diff)
Update Enumerable::Yielder#to_proc document (#3142)
Notes
Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
Diffstat (limited to 'enumerator.c')
-rw-r--r--enumerator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/enumerator.c b/enumerator.c
index 8b1a7e543a..3b8d36590b 100644
--- a/enumerator.c
+++ b/enumerator.c
@@ -1365,7 +1365,7 @@ yielder_yield_push(VALUE obj, VALUE arg)
}
/*
- * Returns a Proc object that takes an argument and yields it.
+ * Returns a Proc object that takes arguments and yields them.
*
* This method is implemented so that a Yielder object can be directly
* passed to another method as a block argument.