For tedious reasons to do with Hpricot, I need to write a function that is passed a URL, and returns the whole contents of the page as a single string.
I\'m close.
require 'open-uri' open(url) {|f| #url must specify the protocol str = f.read() }