tigerallenpride
Member
Is there a way to launch a web page on command while in game? I have been working on this for hours, but I guess I don't really know what I'm doing. I was trying to use:
require 'open-uri'
require 'uri'
open("http://www.google.com")
However 'open-uri' must not be a part of Ruby 1.8? And I don't even think this is right.
I also tried using file.open, and putting a google.htm file in my folder, but that isn't proper usage I don't think.
I know it's possible, but I don't know what to do.
Any suggestions?
Please help!
require 'open-uri'
require 'uri'
open("http://www.google.com")
However 'open-uri' must not be a part of Ruby 1.8? And I don't even think this is right.
I also tried using file.open, and putting a google.htm file in my folder, but that isn't proper usage I don't think.
I know it's possible, but I don't know what to do.
Any suggestions?
Please help!