title: Replacing hyphens in words with the next letter capitalized
body: <p>I have a symbol like the following. Whenever the symbol contains the "-" hyphen mark, I want to remove it and upcase the subsequent letter. 
  I am able to do it like so:</p>
  
  <pre><code>sym = :'new-york'
  str = sym.to_s.capitalize
  /-(.)/.match(str)     
  str = str.gsub(/-(.)/,$1.capitalize)     
  =&gt; "NewYork"
  </code></pre>
  
  <p>This required four lines. Is there a more elegant way to create CamelCase (upper CamelCase e.g. NewYork, NewJersey, BucksCounty) from hyphened words in Ruby?</p>