1 2 3 4 5 6 7 8 9 10 11
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()