>>326
require "open-uri"
data = open("http://www.google.com/") { |f| f.read }