title: Change each element of array in Ruby
body: <p>Ruby 1.9</p>
  
  <p>I'm trying to do a trivial operation in Ruby. I want to change each element of array by adding some data to its property title as a prefix. </p>
  
  <pre><code>def my_proc
           @data = SomeTable.all
           @data.each { |d| 'my_title___'&lt;&lt; pt.title }
  end
  </code></pre>
  
  <p>What did I do wrong?</p>
  
  <p><strong>UPDATE</strong>: I need to append some value to <code>pt.title</code> as a prefix. If pt.title == "some title" then after appending it must be "my_title___some title". Of course, as a result it must be an array of objects with changed titles.</p>
  
  <p>How do I do that?</p>