Ruby equivalent of a simple Wget
require 'open-uri' puts open('http://digg.com/rss/index.xml', 'User-Agent' => 'Ruby-Wget').read
DZone Snippets > jrobertson > open-uri
11380 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
James Robertson http://www.r0bertson.co.uk
require 'open-uri' puts open('http://digg.com/rss/index.xml', 'User-Agent' => 'Ruby-Wget').read