aboutsummaryrefslogtreecommitdiffstats
path: root/ext/win32ole/sample/ienavi.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/win32ole/sample/ienavi.rb')
-rw-r--r--ext/win32ole/sample/ienavi.rb4
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