title: How to create a 2D array of objects in Ruby?
body: <p>I am creating a map for my roguelike game and already I stumbled on a problem. I want to create a two dimensional array of objects. In my previous C++ game I did this:</p>
  
  <pre><code>class tile; //found in another file.
  
  tile theMap[MAP_WIDTH][MAP_HEIGHT];
  </code></pre>
  
  <p>I can't figure out how I should do this with Ruby.</p>