2010-03-10から1日間の記事一覧
>> require "hpricot" => true >> a = Hpricot('<a href="http://w.w.w/">Hello</a>') => #<Hpricot::Doc {elem <a href="http://w.w.w/"> "Hello" </a>}> >> (a/"a").first[:href] = "" => "" >> a.to_html => "<a href=\"<? echo 'boo' ?>\">Hello</a>" >> a = Hpricot('