Project

General

Profile

Actions

Feature #16356

open

Method#inspect of argument forwarding

Added by znz (Kazuhiro NISHIYAMA) over 4 years ago. Updated over 4 years ago.

Status:
Open
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 1 (0 open1 closed)

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

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0