Project

General

Profile

Actions

Feature #16605

closed

Support argument delegation (...) with blocks/define_method

Added by svoop (Sven Schwyn) almost 5 years ago. Updated over 4 years ago.

Status:
Rejected
Assignee:
-
Target version:
-
[ruby-core:97050]

Description

(I couldn't find anything on this in the bug tracker or other official sources, hope it's not a duplicate since it's kind of tricky to search for it.)

The following doesn't work on Ruby 2.7:

define_method(:delegate) do |...|    # <-- syntax error
  target(...)
end

Are there any plans to support argument delegation in block arguments?

Actions

Also available in: Atom PDF

Like0
Like0Like0