зеркало из https://github.com/github/ruby.git
12 строки
273 B
Ruby
12 строки
273 B
Ruby
|
require 'win32ole'
|
||
|
url = 'http://www.ruby-lang.org/'
|
||
|
ie = WIN32OLE.new('InternetExplorer.Application')
|
||
|
ie.visible = TRUE
|
||
|
ie.gohome
|
||
|
print "Now navigate Ruby home page... Please enter."
|
||
|
gets
|
||
|
ie.navigate(url)
|
||
|
print "Now quit Internet Explorer... Please enter."
|
||
|
gets
|
||
|
ie.Quit()
|