Project

General

Profile

Actions

Feature #11256

closed

anonymous block forwarding

Feature #11256: anonymous block forwarding

Added by bughit (bug hit) over 10 years ago. Updated almost 4 years ago.

Status:
Closed
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 3 (0 open3 closed)

Actions

Also available in: PDF Atom