From b4e9ffbdc8cf4d448e86cf6e9c4a2ce8dbf52e29 Mon Sep 17 00:00:00 2001 From: zzak Date: Sat, 4 Oct 2014 00:13:18 +0000 Subject: * ext/win32ole/sample/example*.rb: Add wait input to quit for examples with patch provided by @windwiny [Fixes GH-705] https://github.com/ruby/ruby/pull/705 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/win32ole/sample/excel2.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ext/win32ole/sample/excel2.rb') 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(); -- cgit v1.2.3