diff options
author | suke <suke@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-08-08 12:04:45 +0000 |
---|---|---|
committer | suke <suke@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-08-08 12:04:45 +0000 |
commit | 449971300b86cc0f37df86c1ef356e4fb0da6e8d (patch) | |
tree | dc237104bcc14a56f828e5d52033ffa9680b7af4 /ext/win32ole/sample/ienavi.rb | |
parent | 6a6a4126d4e085f89d668ad4fd34e00abca298ec (diff) | |
download | ruby-449971300b86cc0f37df86c1ef356e4fb0da6e8d.tar.gz |
* ext/win32ole/sample/excel1.rb, ext/win32ole/sample/excel2.rb,
ext/win32ole/sample/excel3.rb, ext/win32ole/sample/ie.rb,
ext/win32ole/sample/ienavi.rb, ext/win32ole/sample/ienavi2.rb: use
true instead of deprecated TRUE. [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/win32ole/sample/ienavi.rb')
-rw-r--r-- | ext/win32ole/sample/ienavi.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/win32ole/sample/ienavi.rb b/ext/win32ole/sample/ienavi.rb index 526ef0a5a8..4f37541663 100644 --- a/ext/win32ole/sample/ienavi.rb +++ b/ext/win32ole/sample/ienavi.rb @@ -20,7 +20,7 @@ def default_handler(event, *args) end ie = WIN32OLE.new('InternetExplorer.Application') -ie.visible = TRUE +ie.visible = true ie.gohome ev = WIN32OLE_EVENT.new(ie, 'DWebBrowserEvents') @@ -29,7 +29,7 @@ ev.on_event {|*args| default_handler(*args)} ev.on_event("NavigateComplete") {|url| navigate(url)} ev.on_event("Quit") {|*args| stop_msg_loop} -$LOOP = TRUE +$LOOP = true while ($LOOP) WIN32OLE_EVENT.message_loop end |