undress.rb

lib/undress.rb
Last Update: Mon Jul 13 19:46:11 -0300 2009

Methods

public instance

  1. Undress

Required files

  1. hpricot

Public instance methods

Undress (html, options={})

Load an HTML document so you can undress it. Pass it either a string or an IO object. You can pass an optional hash of options, which will be forwarded straight to Hpricot. Check it’s documentation for details.

[show source]
# File lib/undress.rb, line 9
def Undress(html, options={})
  Undress::Document.new(html, options)
end