Hi,
In message "Illogical proc argument binding"
on 02/04/26, Einar Karttunen <ekarttun / cs.helsinki.fi> writes:
|So if the proc takes 1 argument and there were multiple arguments
|in the yield they are bound to an array but otherwise they are
|bound normally.
Try
foo { |o,| p o } #=> 1
for single block parameter.
matz.