From: nobu@... Date: 2017-05-19T09:01:08+00:00 Subject: [ruby-core:81270] [Ruby trunk Feature#13333] block to yield Issue #13333 has been updated by nobu (Nobuyoshi Nakada). I think it would make generator happy. ---------------------------------------- Feature #13333: block to yield https://bugs.ruby-lang.org/issues/13333#change-64935 * Author: nobu (Nobuyoshi Nakada) * Status: Open * Priority: Normal * Assignee: * Target version: ---------------------------------------- Currently, blocks can take a block by `do |&block| end` construct. But the only way to pass a block or a bloc argument is making a `Proc` and calling `Proc#call` with a blockarg. I think `yield` should take a block or a block argument now. https://github.com/ruby/ruby/compare/trunk...nobu:feature/yield-blockarg -- https://bugs.ruby-lang.org/ Unsubscribe: