[Ruby] Win32OLE of Ruby 1.9
Ruby 1.9.0 (2006-09-03)のWin32OLEでは、次のスクリプトを実行するとエラーになります。
require 'win32ole'
ie = WIN32OLE.new('InternetExplorer.Application')
begin
ie.visible = true
ensure
ie.quit
end
エラーメッセージは
> ruby19 -v ie.rb
ruby 1.9.0 (2006-09-03) [i386-cygwin]
ie.rb:4:in `method_missing': false is not a symbol (TypeError)
from x.rb:4
です。Mingw32版も同じだったので、多分、mswin32版でも同じでしょう。
| 固定リンク
この記事へのコメントは終了しました。
コメント