Forum: Ruby-dev [ruby-trunk - Bug #8060][Open] Dir.new に意味のないキーワード引数を与えてもエラーにならない

Posted by tadf (tadayoshi funaba) (Guest)
on 2013-03-10 01:41
(Received via mailing list)
Issue #8060 has been reported by tadf (tadayoshi funaba).

----------------------------------------
Bug #8060: Dir.new に意味のないキーワード引数を与えてもエラーにならない
https://bugs.ruby-lang.org/issues/8060

Author: tadf (tadayoshi funaba)
Status: Open
Priority: Low
Assignee:
Category:
Target version:
ruby -v: ruby 2.1.0dev (2013-03-09 trunk 39650) [i686-linux]


Dir.new に意味のないキーワード引数を与えてもエラーにならない。

$ ruby -v -e 'p Dir.new(".", yencoding: "a")'
ruby 2.1.0dev (2013-03-09 trunk 39650) [i686-linux]
#<Dir:.>
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.