Created
June 25, 2015 11:40
-
-
Save jonatasemidio/63beeae5816e0675d6bd to your computer and use it in GitHub Desktop.
snake_case to CamelCase Converter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Veja o código em execução no groovy console: https://groovyconsole.appspot.com/script/5751247093104640 | |
"user_name".split('_').collect{it[0].toUpperCase()+it.substring(1)}.join() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment