Issue #3901 has been updated by mame (Yusuke Endoh). Target version set to next minor ---------------------------------------- Feature #3901: WIN32OLE_VARIANT.new method lacks consistency https://bugs.ruby-lang.org/issues/3901#change-33225 Author: arton (Akio Tajima) Status: Assigned Priority: Low Assignee: suke (Masaki Suketa) Category: ext Target version: next minor =begin WIN32OLE_VARIANT.newの引数が配列かどうかで変換可否が変わります。 一貫性が無いので気になりました。 詳細: WIN32OLE_VARIANT.new(Kernel)はTypeError: can not convert WIN32OLE_VARIANT from type Moduleとなります。 WIN32OLE_VARIANT.new([Kernel])は、KernelにIDispatchをラップしたWIN32OLEオブジェクトを生成します。 あるべき姿: 配列を指定した場合と同様、Rubyのオブジェクトでスカラ型に変換できないものはIDispatchのラッパーにするのが良いと思います。 ただし元々WIN32OLE_VARIANTが必要な事例が少ないので、修正する必要性については不明です。 =end
on 2012-11-20 13:25
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
Log in with Google account | Log in with Yahoo account
No account? Register here.