I don’t think it can. Actually is another reason for RFC: `with ... yield` replacement leave the decision of the DSL-ish on the call-site instead of the implementation might be the way to allow captured blocks in DSL.
Related Topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
[RFC] Standardized Abstractions | 29 | 1632 | July 14, 2023 | |
Injecting block argument types | 1 | 281 | June 24, 2019 | |
ECR <%= %> tags w/ blocks | 8 | 568 | January 26, 2021 | |
Call a block of code? | 3 | 400 | June 28, 2019 | |
Transport-agnostic HTTP client? | 2 | 359 | February 21, 2019 |