Has anyone been successfull using the extract_from_table method of
REXML::Node
class??
This methods is an extension added by Mechanize to REXML as I can see in
the
source code but I am unable to use it because it complains of private
method
called…
here is the code I am trying
require ‘mechanize’
agent = WWW::Mechanize.new
page = agent.get(“http://test.ts”)
cols = page.root.extract_from_table(page.root, [“col1”, “col2”])
and I get
NoMethodError: private method ‘extract_from_table’ called for
…
</>:REXML::Document
regards.
Horacio