title: the best way to store my statistics (ruby)
body: <p>I want to display some statistics of data stored in array of arrays. I have three categories (video,article,webinar) but it could expand later on. The structure of statistics per category will be almost the same. Like: total number of videos, last date when added new record in category, etc.</p>
  
  <p>So far I can think of a hash of an array to store the stats. Where the array would hold the structure of stats per category and would be the (almost) same for all categories. Could anybody think of any better solution in terms of</p>
  
  <ul>
  <li>being easy to include new category</li>
  <li>easy to manipulate/assign/calculate all the statistical data</li>
  <li>easy to display</li>
  </ul>
  
  <p>my idea looks like </p>
  
  <pre><code>stats = { 'video' = [], 'article' = [], 'webinar' = [] } 
  stats_array = ['Total number','Last date added','etc']
  </code></pre>
  
  <p>and then I would do something like</p>
  
  <pre><code>stats['video'][stats_array.index('Total number')] +=1
  </code></pre>