Skip to content

Instantly share code, notes, and snippets.

@chaserx
Created July 17, 2013 16:28
Show Gist options
  • Select an option

  • Save chaserx/6022168 to your computer and use it in GitHub Desktop.

Select an option

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

chaserx commented Jul 17, 2013

Copy link
Copy Markdown
Author

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