Skip to content

Instantly share code, notes, and snippets.

@capotej
Created September 5, 2009 06:53
Show Gist options
  • Save capotej/181320 to your computer and use it in GitHub Desktop.
Save capotej/181320 to your computer and use it in GitHub Desktop.
require 'open-uri'
puts open('http://j.mp/3nqLRU').read.match(/<text>((\d|\.|\ )*)/)[0].gsub('<text>','').split(' ').map { |x| x.split('.').map { |y| ('A'..'Z').to_a[y.to_i - 1] } }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment