title: How can I uppercase each element of an array?
body: <p>How can I turn an array of elements into uppercase? Expected output would be:</p>
  
  <pre><code>["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"]  
  =&gt; ["MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY"]
  </code></pre>
  
  <p>The following didn't work and left them as lower case.</p>
  
  <pre><code>Day.weekday.map(&amp;:name).each {|the_day| the_day.upcase }
   =&gt; ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"] 
  </code></pre>