title: Creating Objects at Run-time in Ruby
body: <p><strong>PHP</strong></p>
  
  <pre><code>&lt;?php
  $dynamicProperties = array("name" =&gt; "bob", "phone" =&gt; "555-1212");
  $myObject = new stdClass();
  foreach($dynamicProperties as $key =&gt; $value) {
      $myObject-&gt;$key = $value;
  }
  echo $myObject-&gt;name . "&lt;br /&gt;" . $myObject-&gt;phone;
  ?&gt;
  </code></pre>
  
  <p>How do I do this in ruby?</p>