Skip to content

Instantly share code, notes, and snippets.

@chaserx
Created July 17, 2013 16:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chaserx/6022168 to your computer and use it in GitHub Desktop.
Save chaserx/6022168 to your computer and use it in GitHub Desktop.
Name Capitalization
# I <3 Ruby
"chase southard".split.map {|n| n.capitalize}.join(' ')
#=> "Chase Southard"
@chaserx
Copy link
Author

chaserx commented Jul 17, 2013

There's probably a smarter way to do this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment