title: Access Ruby Hash Using Dotted Path Key String
body: <p>The Rails I18n library transforms a YAML file into a data structure that is accessible via a dotted path call using the t() function.</p>
  
  <pre><code>t('one.two.three.four')
  </code></pre>
  
  <p>Does anyone know how to do this with a Ruby Hash? Or is it only possible directly via a YAML object?</p>