* 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
This commit is contained in:
zzak 2014-10-04 00:13:18 +00:00
parent 34fcb5dbee
commit b4e9ffbdc8
4 changed files with 20 additions and 1 deletions

View file

@ -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();