Skip to content

Instantly share code, notes, and snippets.

@jaigouk
Created January 4, 2009 00:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaigouk/42958 to your computer and use it in GitHub Desktop.
Save jaigouk/42958 to your computer and use it in GitHub Desktop.
nokogiri
require 'rubygems'
require 'nokogiri'
require 'open-uri'
require 'haml'
doc = Nokogiri::HTML(open('http://merbivore.com/documentation/current/doc/rdoc/stack/index.html?a=F00000098&name=README'))
@api_doc = doc.search('div#rdocContent')
puts @api_doc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment