[#48926] doc/extension.ja.rdoc 査読依頼 — Yugui <yugui@...>
doc/extension.ja.rdoc
12 messages
2015/04/12
[#48930] Re: doc/extension.ja.rdoc 査読依頼
— SASADA Koichi <ko1@...>
2015/04/13
ドキュメントまとめて頂いて、ありがとうございます。多分、それなりに知っ
[#48931] Re: doc/extension.ja.rdoc 査読依頼
— Yugui <yugui@...>
2015/04/13
On Mon, Apr 13, 2015 at 6:00 PM SASADA Koichi <ko1@atdot.net> wrote:
[#48932] Re: doc/extension.ja.rdoc 査読依頼
— SASADA Koichi <ko1@...>
2015/04/13
On 2015/04/13 18:53, Yugui wrote:
[#48934] Re: doc/extension.ja.rdoc 査読依頼
— Yugui <yugui@...>
2015/04/13
On Mon, Apr 13, 2015 at 7:03 PM SASADA Koichi <ko1@atdot.net> wrote:
[#48935] Re: doc/extension.ja.rdoc 査読依頼
— Nobuyoshi Nakada <nobu@...>
2015/04/14
On 2015/04/13 19:17, Yugui wrote:
[#48937] Re: doc/extension.ja.rdoc 査読依頼
— SASADA Koichi <ko1@...>
2015/04/14
On 2015/04/14 10:25, Nobuyoshi Nakada wrote:
[ruby-dev:48921] [Ruby trunk - Bug #11039] [Open] method_missing の *args 引数に symbol をキーにした hash だけを渡すと エラーとなる
From:
kiyono@...
Date:
2015-04-07 09:11:40 UTC
List:
ruby-dev #48921
Issue #11039 has been reported by yoshimitsu kiyono. ---------------------------------------- Bug #11039: method_missing の *args 引数に symbol をキーにした hash だけを渡すと エラーとなる https://bugs.ruby-lang.org/issues/11039 * Author: yoshimitsu kiyono * Status: Open * Priority: Normal * Assignee: * ruby -v: ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-darwin13] * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN ---------------------------------------- method_missing に 第3引数として キーワード引数を設定した上で、引数に symbol をキーにした Hash だけを渡すと => unknown keyword: a (ArgumentError) となる。 ※ 第3引数を付け足さなければエラーにならない。 引数が文字列をキーにした Hash であればエラーにならないため、キーが symbol でも Hash であるならば合わせた挙動であるべきではないでしょうか。 ---Files-------------------------------- foo.rb (244 Bytes) -- https://bugs.ruby-lang.org/