Skip to content

Instantly share code, notes, and snippets.

@coffeejay
Created March 3, 2014 00:16
Show Gist options
  • Save coffeejay/9316208 to your computer and use it in GitHub Desktop.
Save coffeejay/9316208 to your computer and use it in GitHub Desktop.
require 'pismo'
doc = Pismo::Document.new('http://money.cnn.com/2014/02/27/investing/jc-penney/index.html?iid=HP_LN')
puts doc.title
puts doc.author
puts doc.body
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment