This is a discussion on Re: Iterate through Array? - RUBY ; Note: parts of this message were removed by the gateway to make it a legal Usenet post. >You might also try the Permutations gem ... Or use the Combinatorial Object Server and the Hpricot gem. Pass in your parameters for ...
Note: parts of this message were removed by the gateway to make it a legal Usenet post.
>You might also try the Permutations gem ...
Or use the Combinatorial Object Server and the Hpricot gem. Pass in your parameters for the combinatorial object and scrape your results out of the table cells. I don't believe there is an API for the COS but scraping the hrml results is quite easy.
Combinatorial Object Server
http://theory.cs.uvic.ca/root.html