title: Why doesn't >> prepend strings in Ruby?
body: <p>In ruby, you can append strings using <code>&lt;&lt;</code>:</p>
  
  <pre><code>&gt;&gt; "Hello" &lt;&lt; "World"
  =&gt; "HelloWorld"
  </code></pre>
  
  <p>So why can't you prepend them using <code>&gt;&gt;</code>?</p>
  
  <pre><code>&gt;&gt; "Hello" &gt;&gt; "World"
  NoMethodError: undefined method `&gt;&gt;' for "Hello":String
  </code></pre>
  
  <p>I realise <code>String</code> doesn't have the <code>&gt;&gt;</code> method defined, but what's the reasoning behind that?</p>