Displaying 1 result from an estimated 1 matches for "all_text".
Did you mean:
acl_text
2006 Sep 11
0
mechanize lists
...el list and
> not the users list.
Hey Mat, this is definitely a bug in mechanize. If you add this to your
script, it should take care of the problem until I make a bugfix
release:
require ''rubygems''
require ''mechanize''
class Hpricot::Elem
def all_text
text = ''''
children.each do |child|
if child.respond_to? :content
text << child.content
end
if child.respond_to? :all_text
text << child.all_text
end
end
text
end
end
agent = WWW::Mec...