class Hpricot::Elements
def before(str = nil, &blk)
Add some HTML just previous to each element in this list.
def before(str = nil, &blk) each { |x| x.parent.insert_before x.make(str, &blk), x } end
def before(str = nil, &blk) each { |x| x.parent.insert_before x.make(str, &blk), x } end