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