title: What's the difference between `puts` and `return` result?
body: <p>When I run the following code:</p>
  
  <pre><code>class GermanShepard
    attr_accessor :name
    def bark
      puts "Loud Bark"
    end
  end
  
  max = GermanShepard.new
  max.name = "Max"
  puts "#{max.name} goes #{max.bark}"
  </code></pre>
  
  <p>the result is:</p>
  
  <pre><code>Loud Bark
  Max goes 
  </code></pre>
  
  <p>When I change <code>puts</code> to <code>return</code> at the <code>GermanShepard</code>. It gives:</p>
  
  <pre><code>Max goes Loud Bark
  </code></pre>
  
  <p>I don't understand the difference between the two command in the class.</p>