Project

General

Profile

Actions

Feature #16356

open

Method#inspect of argument forwarding

Added by znz (Kazuhiro NISHIYAMA) almost 2 years ago. Updated almost 2 years ago.

Status:
Open
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-core:95896]

Description

Current behavior includes (**, &&).
Is this intentional?

% ruby -e 'def mf(...);end;p method(:mf)'
#<Method: main.mf(**, &&) -e:1>

I added tests of current behavior at https://github.com/ruby/ruby/commit/777973084e599cf9efa490173709b187fb507f90


Related issues

Related to Ruby master - Feature #14145: Proposal: Better Method#inspectClosedActions
Actions

Also available in: Atom PDF