title: including spaces while using %w
body: <p>The following code produces the output "xyz" </p>
  
  <pre><code>a = %w{x y z} 
  print a.to_s
  </code></pre>
  
  <p>Is there an option that can be added to the block to allow spaces to be added?</p>
  
  <p>For example, I thought that by changing the code to this I might be able to space-separate the elements to produce an output of "x y z"</p>
  
  <pre><code>a = %w{"x " "y " "z "}
  print a.to_s
  </code></pre>
  
  <p>Instead it produces this:</p>
  
  <p>"x""y""z"</p>