title: Ruby object printing format
body: <p>Consider the following:</p>
  
  <pre><code>irb(main):001:0&gt; class A
  irb(main):002:1&gt; def initialize
  irb(main):003:2&gt; @string = "my string"
  irb(main):004:2&gt; end
  irb(main):005:1&gt; def to_s
  irb(main):006:2&gt; puts @string
  irb(main):007:2&gt; end
  irb(main):008:1&gt; end
  =&gt; nil
  irb(main):009:0&gt; a = A.new
  =&gt; #&lt;A:0x2ea606c @string="my string"&gt;
  irb(main):010:0&gt; puts a
  my string
  #&lt;A:0x2ea606c&gt;
  =&gt; nil
  </code></pre>
  
  <p>When 'puts' outputs the string my does it also append the refference of the object ?</p>
  
  <p>Is there anyway to get rid of this behavior? What I want outputed is justs the string @string as defined in the classes 'to_s' method</p>
  
  <p>Thanks,</p>
  
  <p>RM</p>