I am trying to convert a name from snake case to camel case. Are there any built-in methods?
Eg: \"app_user\" to \"AppUser\"
\"app_user\"
\"AppUser\"
(I hav
How about this one?
"hello_world".split('_').collect(&:capitalize).join #=> "HelloWorld"
Found in the comments here: Classify a Ruby string
See comment by Wayne Conrad