Issue #7540 has been reported by no6v (Nobuhiro IMAI).

----------------------------------------
Bug #7540: Proc#parameters cannot show :opt with :rest and :keyword
https://bugs.ruby-lang.org/issues/7540

Author: no6v (Nobuhiro IMAI)
Status: Open
Priority: Normal
Assignee: 
Category: core
Target version: 
ruby -v: ruby 2.0.0dev (2012-12-10 trunk 38297) [x86_64-linux]


When an :opt arg is specified with :rest and :key args,
Proc#parameters (as well as *Method) cannot show it as below:

->(opt = :ion, *rest, key: :word){}.parameters # => [[:rest, :rest], [:key, :key]]



-- 
http://bugs.ruby-lang.org/