From: Robert Klemme Date: 2013-01-31T23:54:00+09:00 Subject: Re: Select "columns" from multidimensional array? On Thu, Jan 31, 2013 at 3:14 PM, Joel Pearson wrote: > Thanks robert You're welcome! > My current approach is > HTML Table -> Nokogiri Nodeset -> Multidimensional Array -> Excel / TSV > > A Matrix looks like a useful way of grabbing the values I need when I > have to alter specifics in the data. Whatever you do - reuse class Matrix, write your own - it is the most reasonable thing to have a specific class for handling this instead of writing functions which work with a nested Array structure. It will make your life much easier because then you Matrix class can enforce proper internal state which you cannot as easily when using a set of functions to manipulate an Array structure. Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/