title: Can Ruby operators be aliased?
body: <p>I'm interested in how one would go in getting this to work :</p>
  
  <pre><code>me = "this is a string"
  class &lt;&lt; me
    alias :old&lt;&lt; :&lt;&lt;
    def &lt;&lt;(text)
      old&lt;&lt;(text)
      puts "appended #{text}"
    end
  end
  </code></pre>
  
  <p>I'd like that when something gets appended to the <code>me</code> variable, the object will use the redefined method.</p>
  
  <p>If I try to run this, I get <code>syntax error, unexpected ':', expecting kEND</code> at <code>:&lt;&lt;</code>.</p>