Top Level Namespace
Defined Under Namespace
Modules: Hpricot, Undress Classes: Object
Instance Method Summary collapse
-
#Undress(html, options = {}) ⇒ Object
Load an HTML document so you can undress it.
Instance Method Details
#Undress(html, options = {}) ⇒ Object
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.
9 10 11 |
# File 'lib/undress.rb', line 9 def Undress(html, ={}) Undress::Document.new(html, ) end |