ruby-changes:61398
From: Masataka <ko1@a...>
Date: Wed, 27 May 2020 15:47:01 +0900 (JST)
Subject: [ruby-changes:61398] 752041ca11 (master): Update Enumerable::Yielder#to_proc document (#3142)
https://git.ruby-lang.org/ruby.git/commit/?id=752041ca11 From 752041ca11c7e08dd14b8efe063df06114a9660f Mon Sep 17 00:00:00 2001 From: Masataka Pocke Kuwabara <kuwabara@p...> Date: Wed, 27 May 2020 15:46:42 +0900 Subject: Update Enumerable::Yielder#to_proc document (#3142) diff --git a/enumerator.c b/enumerator.c index 8b1a7e5..3b8d365 100644 --- a/enumerator.c +++ b/enumerator.c @@ -1365,7 +1365,7 @@ yielder_yield_push(VALUE obj, VALUE arg) https://github.com/ruby/ruby/blob/trunk/enumerator.c#L1365 } /* - * 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. -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/