From: "marcandre (Marc-Andre Lafortune)" Date: 2013-02-24T00:44:52+09:00 Subject: [ruby-core:52744] [ruby-trunk - Bug #7922][Open] Keyword arguments bug with unnamed rest Issue #7922 has been reported by marcandre (Marc-Andre Lafortune). ---------------------------------------- Bug #7922: Keyword arguments bug with unnamed rest https://bugs.ruby-lang.org/issues/7922 Author: marcandre (Marc-Andre Lafortune) Status: Open Priority: High Assignee: nobu (Nobuyoshi Nakada) Category: core Target version: next minor ruby -v: r39390 We have: def foo(**ignore_all_options) end foo(bar: 42) # => nil, OK method(:foo).parameters # => [[:keyrest, :ignore_all_options]], OK But: def foo(**) end foo(bar: 42) # => ArgumentError: unknown keyword: bar, expected nil method(:foo).parameters # => [], expected [[:keyrest]] -- http://bugs.ruby-lang.org/