title: ruby convert array of delimited strings into hash
body: <p>I have an array </p>
  
  <pre><code>["bob:12 elm st", "sally:100 digital ave", "tom:2324 elmhurst st"] 
  </code></pre>
  
  <p>which I need to convert to </p>
  
  <pre><code>{"bob" =&gt; "12 elm st", "sally" =&gt; "100 digital ave", "tom" =&gt; "2324 elmhurst st"}.
  </code></pre>
  
  <p>I know I can do </p>
  
  <pre><code>array.each do |e|
    k = e.split(":").first
    v = e.split(":").last
    hash[k] = v
  end
  </code></pre>
  
  <p>Is there a more elegant way to do this?</p>