aboutsummaryrefslogtreecommitdiffstats
path: root/ext/win32ole/sample/excel2.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/win32ole/sample/excel2.rb')
-rw-r--r--ext/win32ole/sample/excel2.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/win32ole/sample/excel2.rb b/ext/win32ole/sample/excel2.rb
index 95af61ceb6..632882636a 100644
--- a/ext/win32ole/sample/excel2.rb
+++ b/ext/win32ole/sample/excel2.rb
@@ -23,5 +23,8 @@ i.step(180, 10) do |rot|
end
# Done, bye
+print "Now quit Excel... Please enter."
+gets
+
excel.ActiveWorkbook.Close(0);
excel.Quit();