Project

General

Profile

Feature #11256

anonymous block forwarding

Added by bughit (bug hit) about 5 years ago. Updated over 2 years ago.

Status:
Assigned
Priority:
Normal
Target version:
-
[ruby-core:69559]

Description

since capturing a block into a proc is slow: foo(&block)
and creating chains of blocks is kind of ugly and ultimately also inefficient: foo{yield}
why not allow block forwarding without capturing: foo(&) foo(1, 2, &)


Related issues

Related to Ruby master - Feature #3447: argument delegationAssignedmatz (Yukihiro Matsumoto)Actions
Related to Ruby master - Feature #14045: Lazy Proc allocation for block parametersClosedko1 (Koichi Sasada)Actions

Also available in: Atom PDF