title: Ruby -- capitalize first letter of every sentence in a paragraph
body: <p>Using Ruby language, I would like to capitalize the first letter of every sentence, and also get rid of any space before the period at the end of every sentence. Nothing else should change.</p>
  
  <pre><code>Input =  "this is the First Sentence . this is the Second Sentence ."    
  Output =  "This is the First Sentence. This is the Second Sentence."
  </code></pre>
  
  <p>Thank you folks.</p>