title: Using do block vs braces {}
body: <p>New to ruby, put on your newbie gloves.</p>
  
  <p>Is there any difference (obscure or practical) between the following two snippets?</p>
  
  <pre><code>my_array = [:uno, :dos, :tres]
  my_array.each { |item| 
      puts item
  }
  
  my_array = [:uno, :dos, :tres]
  my_array.each do |item| 
      puts item
  end
  </code></pre>
  
  <p>I realize the brace syntax would allow you to place the block on one line</p>
  
  <pre><code>my_array.each { |item| puts item }
  </code></pre>
  
  <p>but outside of that are there any compelling reasons to use one syntax over the other?</p>