title: Only show first letters of string of each word
body: <p>I have this string</p>
  
  <pre><code>Rock Paper Shotgun
  </code></pre>
  
  <p>I have looked around to find an easy way to get the first letters of each word. Because I want my end result to be:</p>
  
  <pre><code>RPS
  </code></pre>
  
  <p>Is there a special ruby on rails function for this? If not, how can I achieve such thing?</p>
  
  <p>I found this</p>
  
  <pre><code>str = "nishant nigam"
  =&gt; "nishant nigam"
  str.split(" ").map {|name| name[0].chr }.join.upcase
  =&gt; "NN"
  </code></pre>
  
  <p>But I was hoping if there is even a simpler method</p>