2010-04-29から1日間の記事一覧

hpricot:Hpricot::Traverse#make

>> require "hpricot" => true >> doc = Hpricot('<p><b>foo1</b></p><p>foo2</p>') => #<Hpricot::Doc {elem <p> {elem <b> "foo1" </b>} </p>} {elem <p> "foo2" </p>}> >> doc.at('p').make ArgumentError: an Hpricot document must be built from an input source (a String or IO object.) from /usr/local/ruby-1.8.…