OSDN Git Service
(root)
/
splhack
/
AndroidRuby.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
ruby-1.9.1-rc1
[splhack/AndroidRuby.git]
/
lib
/
ruby-1.9.1-rc1
/
ext
/
win32ole
/
sample
/
ie.rb
1
require 'win32ole'
2
url = 'http://www.ruby-lang.org/'
3
ie = WIN32OLE.new('InternetExplorer.Application')
4
ie.visible = TRUE
5
ie.gohome
6
print "Now navigate Ruby home page... Please enter."
7
gets
8
ie.navigate(url)
9
print "Now quit Internet Explorer... Please enter."
10
gets
11
ie.Quit()