class Hpricot::Elements
def remove
=> "Remove this: "
doc.to_html
doc.search("b").remove
doc = Hpricot("Remove this: here")
Remove all elements in this list from the document which contains them.
def remove each { |x| x.parent.children.delete(x) } end