On Thu, Jan 31, 2013 at 3:14 PM, Joel Pearson <[email protected]> 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/ -- [email protected] | https://groups.google.com/d/forum/ruby-talk-google?hl=en --- You received this message because you are subscribed to the Google Groups "ruby-talk-google" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
