From: Aaron Patterson Date: 2006-06-23T06:47:30+09:00 Subject: Re: Mechaniza/REXML extract_from_table On Thu, Jun 22, 2006 at 05:05:41PM +0900, Horacio Sanson wrote: > > 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"]) Try this: cols = extract_from_table(page.root, ["col1", "col2"]) --Aaron -- The invading armies planned for everything - except for eight kids called "The Wolverines."